🌍 Public
Temperature in SF
This visualization displays the temperature in San Francisco over time, using a line chart with points to show daily measurements. The data is loaded from a CSV file using D3’s `csv` utility, and the plot is rendered as an SVG via a React component. The x-axis represents time, formatted with `timeFormat(‘%a’)`, while the y-axis shows the temperature scale. The chart uses `scaleLinear` and `scaleTime` for scaling, and the line is drawn with `curveCardinal` smoothing.
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.