Temperature
✓ Published0🌍 Public
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 descriptionMIT Licensed