Temperature in San Francisco
✓ Published1🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed