Skip to main content
100%

Working With Time

✓ Published6🌍 Public
YYenTingWu
Last edited Jul 9, 2021
Created on Jul 8, 2021

This stylized line chart visualizes how temperature varies over time in San Francisco, encoding each hourly observation as a large circular mark positioned along a time-scaled x-axis and linear temperature y-axis. Built with React and D3 v5, it uses `scaleTime`, `scaleLinear`, and `extent` for scaling and domain computation, while `AxisBottom` and `AxisLeft` generate tick marks. The marks are rendered as SVG circles with tooltips showing the formatted weekday. The data is loaded asynchronously from a CSV file via `d3.csv` and filtered to a specific city.

AI-generated description

Stylized Line Chart Working With Time

MIT Licensed

Similar vizzes