🌍 Public
Viewing a saved revision (read-only)
465820a6a2434c1e90eb99d21001c618
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