Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
TThomas Cormican
Last edited Jan 7, 2022
Created on Jan 7, 2022

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 description

A 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.

MIT Licensed

Similar vizzes