Skip to main content
šŸŒ Public

Share visualization

Send this visualization to others.

Fun with scatter

Public visualization

Viewing a saved revision (read-only)

818ac31ffd5e43e7a1944fe078ffb005

Fun with scatter

0 stars1šŸŒ Public
JJunyanL
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from SVG chart

Two scatterplots compare daily PM2.5 concentrations over time in 2018, with one chart treating the date as a categorical axis and the other as a continuous time axis. Both use the `d3.scaleLinear` for the x-axis and `d3.scalePoint` for the y-axis, rendered as SVG circles via `d3.select` and `d3.append`. The data comes from `2018.csv`, loaded with `d3.csv`. Axis ticks are generated with `d3.axisLeft` and `d3.axisBottom`, with the PM2.5 axis labeled explicitly.

AI-generated description