Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
DDhiraj Gede
Last edited Jan 7, 2022
Created on Jan 7, 2022

This example visualizes the relationship between the added and published dates of UCI Machine Learning Repository Auto MPG data records, using a Vega-Lite area mark to show temporal distribution. The code constructs the chart via the `vega-lite-api` library, which registers with `vega`, `vega-lite`, and `vega-tooltip` for interactive tooltips. Data is loaded asynchronously with `d3.json`, and the visualization renders as an SVG, with custom styling applied through a configuration object that adjusts axis and label appearance for readability.

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