Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Course 3: Line Chart

Public visualization

Viewing a saved revision (read-only)

9eafb7d7fdb145b09e6e6fea34d73473

D3 Course 3: Line Chart

0 stars0🌍 Public
Aabdullatku
Last edited May 15, 2020
Created on May 15, 2020

This line chart displays temperature readings in San Francisco over time, with time on the x-axis and temperature on the y-axis, using a smooth curve. The visualization is rendered as an SVG using D3 v5, and loads its data from a CSV file via `d3.csv`. The code employs `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` with `curveBasis` to construct the chart, and includes a custom `getData` function that resolves the dataset after a delay.

AI-generated description

Data Visualization with D3 course; Temperature Line Chart