🌍 Public
stylised line chart
A stylised line chart built with React and D3 v7 visualizes the daily high temperature changes in San Francisco over a week, with time on the x-axis and degrees on the y-axis. Using D3 utilities like `scaleLinear`, `scaleTime`, and `curveNatural`, it renders a smooth path through points and circles with tooltips showing exact time and temperature. The chart loads data from a CSV file via `csv` from D3, and uses a Raleway font with customized tick marks and axis labels for a clean, modern aesthetic.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.
MIT Licensed
Comments
Sign in to join the discussion.