Skip to main content
100%

graph1

✓ Published0🌍 Public
AArriannePandaraoan
Last edited May 4, 2020
Created on May 4, 2020
Forked from graph1

This interactive line chart displays daily temperature readings for Austin, Boston, and Arizona in both Fahrenheit and Celsius, with a dropdown menu to switch between the two units. The visualization uses d3.v5 to load the CSV data, parse dates, and render an SVG with a time-scaled x-axis and linear y-axis. Users can hover over the chart to see a vertical guide line, date label, and value annotations for each city. The code employs d3.scaleTime, d3.scaleLinear, d3.line with curveCardinal, and d3.axisBottom/Left, along with transitions to animate axis and line updates when the metric changes.

AI-generated description
MIT Licensed

Similar vizzes