🌍 Public
Viewing a saved revision (read-only)
ae24904234e346609988ad9e4594d176
Vega Chart - Emissions by Year
This example shows annual emissions totals as a filled area chart, with color encoding representing solid emissions by year. The visualization uses the Vega Lite API, registered with Vega and React, to render SVG output. Data is loaded via `d3.csv` from a GitHub-hosted CSV file. The chart is configured with custom axis styles, a black color scheme, and tooltips provided through the `vega-tooltip` Handler, scaling responsively to the window size.
AI-generated descriptionVega Lite API