Skip to main content
100%

Time based scatter plot

✓ Published2🌍 Public
AAnthony Ynami
Last edited Feb 19, 2021
Created on Feb 19, 2021
Forked from React Scatter Plot

This visualization is a time-based scatter plot that displays temperature readings from San Francisco over a week. The x-axis represents time, formatted to show day abbreviations, while the y-axis shows temperature values. The plot updates dynamically, rendering each data point as a circle. The code uses React for the user interface and D3 v6 APIs such as `scaleTime`, `scaleLinear`, and `extent` to map data to coordinates. The data is loaded from a CSV file via D3's `csv` function, and the chart is rendered as an SVG using custom Components like `AxisBottom`, `AxisLeft`, and `Marks`.

AI-generated description
MIT Licensed

Similar vizzes