Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes commuting flows between counties, plotting the margin of error against the commuting flow volume on logarithmic scales. Each circle represents a county, with size encoding the commuting flow magnitude and tooltips revealing the work county name. The visualization uses the Vega-Lite API to declaratively define the scatter plot, with data loaded asynchronously via d3.csv. Vega and Vega-Lite render the chart to SVG, while Vega-Tooltip provides interactive hover details, and the code applies custom axis and label styling from a shared config file.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed