🌍 Public
Viewing a saved revision (read-only)
82f6471ed5e1430aaeb42380b1f6f0a1
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 descriptionAn example showing the capabilities of VizHub.