Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Vibecoding Starter

Public visualization

Fork of React & D3 Vibecoding Starter

0 stars1🌍 Public
Mmadalahyndavi123@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This line chart tracks daily PM2.5 concentrations in Dallas, Texas, over five months from January to May 2023. The visualization uses an orange stroke path to display fluctuating air pollution levels, with time on the x-axis and concentration values on the y-axis. The code loads data from a CSV file using `d3.csv`, parses dates with `d3.timeParse`, and constructs the chart with `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, and `d3.axisBottom`/`d3.axisLeft`. All elements are rendered as SVG, with axis labels and a chart title added via D3 selections.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed