🌍 Public
Viewing a saved revision (read-only)
72ab8e27674249289e4d1c0d72cca4b8
Temperature
This visualization displays the relationship between horsepower and weight for various car models, with each point representing a vehicle. The code uses d3.csv to load the auto-mpg dataset from VizHub, then converts the data to numeric values before applying d3.scaleLinear for both axes. d3.axisBottom and d3.axisLeft render the grid lines, while SVG circles with a steelblue fill and opacity are plotted using the scales. The chart includes a title and axis labels, with margins set to accommodate the larger left side.
AI-generated description