Skip to main content
100%

Fork of Fork of Vega-Lite API Template

✓ Published0🌍 Public
RReymond Mesuga
Last edited Mar 13, 2021
Created on Mar 13, 2021

This visualization displays a scatterplot of auto-mpg data, plotting engine displacement against horsepower, with points colored by opacity and tooltips revealing car names. The code uses the Vega-Lite API integrated with D3.js (d3.v5) to fetch CSV data and render the chart via Vega. It loads the visualization libraries (vega, vega-lite) and configures custom axis and label styling. The chart resizes to fit the browser window and employs an opacity of 0.1 to handle overlapping points.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes