A week in San Francisco - Line chart
✓ Published7🌍 Public
This line chart displays a week of temperature data for San Francisco, plotting temperature against time over a seven-day period. The visualization uses a smooth, curved line to connect data points, with labeled axes for both time and temperature, alongside a clear title. The code imports functions from D3 v5, including `scaleTime`, `scaleLinear`, `line`, `axisLeft`, and `axisBottom`, to build the chart within an SVG canvas. The data is loaded from a CSV file and mapped to the time and temperature scales, with grid lines and a maroon stroke enhancing readability.
AI-generated descriptionMIT Licensed