A small, batteries-included charting library built on D3 v7: lines, filled areas, zoom, a hover crosshair, stacked/grouped bars (vertical and horizontal), and heatmaps, with chart width that tracks its container's rendered size. It powers the charts across this site's Weather, Sensors, EnergyPlus Weather, and Graphics sections.

Source, docs, and license: github.com/larsi-org/d3-easygraph

Shared by every chart below: container sizing that tracks a live resize (width follows the container, height stays fixed), SVG/margin/clip/title scaffolding, palette handling, number and time axis formatting, and a small set of unit presets (temperature, pressure, wind speed, and so on) that fill in a sensible label/unit/range when you just want to plot a known physical quantity.

Lines and filled areas over a continuous (time or linear) x axis, with optional zoom (scroll to zoom, drag to pan) and a hover crosshair — multiple line charts on the same page can have their zoom and crosshair synced together.

Hourly Data
Multi Hourly Data

Vertical or horizontal bars, stacked or grouped. Orientation is fixed for a chart's lifetime, but stacked vs. grouped can be toggled live (see the dropdown on the examples below).

Monthly Data
Multi Monthly Data
Horizontal Bars
Sensitivity

A grid of colored cells over plain continuous x/y axes — good for spotting seasonal patterns across a lot of data (8,760 hourly values for a year, in the example below) where a line chart would just be noise.

Hourly Data Heat Map