🌍 Public
Viewing a saved revision (read-only)
ca3c3dc795ef4a15b79227de7c8b76fb
Fork of Vega-Lite API Template
This example visualizes annual counts of air quality records from a filtered dataset, using a scatterplot of circles where each point represents one year. It loads CSV data from a GitHub gist, filters rows by a specific indicator ID, and renders the visualization with the Vega-Lite API, registering it alongside Vega and D3 v5. The code uses `vl.markCircle`, `vl.x().fieldT('Start_Date').timeUnit('year')`, and `vl.y().count()` to aggregate values, with custom axis and label styling via a config object and a tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.