Skip to main content
100%

Temperature

✓ Published0🌍 Public
SSimon Wongsuwarn
Last edited Jul 7, 2019
Created on Jul 7, 2019
Forked from Cars Scatter Plot

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
MIT Licensed

Similar vizzes