Skip to main content
100%

Temperature in San Francisco

✓ Published1🌍 Public
JJeffrey Miiller
Last edited Jan 27, 2020
Created on Jan 27, 2020
Forked from Cars Scatter Plot

This example shows a scatterplot of cars, comparing horsepower on the x-axis against weight on the y-axis, with each point representing a vehicle. The code uses d3.csv to load the data, d3.scaleLinear to map values to pixel coordinates, and d3.axisLeft and d3.axisBottom to render labeled axes with gridlines. Circles are drawn via D3’s data join, styled with red fill and opacity. The visualization is rendered as an SVG within a React framework, with margins and a title included.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes