Viewing a saved revision (read-only)
7c2b584f0ed44a488b8e4c45f5c7f5a6
Fork of Vega-Lite API Template
This example visualizes accommodation data from a custom CSV dataset, plotting a scatter chart of Longitude against AddressRegion with tooltips showing Tags. Built using the Vega-Lite API, it registers Vega and Vega-Lite libraries with vega-tooltip for interactive hover details. The chart renders as an SVG, fills the entire window, and uses custom configuration for axis styling and dark label colors. The data is loaded via d3.csv, and the visualization is generated programmatically through the vl.markPoint and vl.encode APIs.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.