Skip to main content
100%

Hello VizHub

✓ Published0🌍 Public
BBrandon Da Silva
Last edited Dec 1, 2019
Created on Dec 1, 2019
Forked from Hello VizHub

This example visualizes the relationship between horsepower and weight for automobiles from the auto-mpg dataset, rendering circles for each car. The code uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom with a custom tick formatter that abbreviates numbers. A scatterplot is drawn within an SVG, with axes, tick lines, and labels styled via CSS. The chart includes a title and axis labels, with circles colored steelblue at half opacity.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes