Skip to main content
100%

Line Chart

✓ Published1🌍 Public
LLeandro Da Souza
Last edited Mar 31, 2021
Created on Mar 31, 2021

This line chart visualizes weekly temperature variations, plotting timestamps on the x-axis and measured temperature on the y-axis. The React app uses the `useData` hook to fetch a CSV file from a GitHub gist, then renders the data with SVG elements. The implementation leverages d3's `scaleTime`, `scaleLinear`, and `line` curve functions to construct the axes and path, with `curveNatural` smoothing the line. Circles mark each data point, and tooltips display the date and temperature values.

AI-generated description

using React to render and visualize United Nation Population in 2019

I dont know why this doesn't work

MIT Licensed

Similar vizzes