🌍 Public
Viewing a saved revision (read-only)
8d4f4f8533704c559565bba913e5100c
Vega-Lite API Template
This example visualizes the sum of slum households per division using a bar chart generated with the Vega-Lite API. It renders bars sized to five pixels, sorted by aggregate value, and applies a custom dark-color configuration for axis labels and titles. The code loads CSV data from a GitHub gist using d3.csv, registers vega, vega-lite, and vega-lite-api, and enables tooltips via vega-tooltip’s Handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.