Skip to main content
100%

SVG chart

✓ Published1🌍 Public
JJunyanL
Last edited Feb 11, 2020
Created on Feb 10, 2020
Forked from React Starter

This example shows two parallel bar charts from the v3 dataset, each plotting PM2.5 concentration (Raw.Conc.) over time, with one chart treating dates as ordinal strings and the other as parsed date objects. The visualization uses D3 v5’s SVG rendering with `scaleBand` for the categorical y-axis and `scaleLinear` for the x-axis, plus `axisLeft` and `axisBottom` for tick marks. Data is loaded from the 2018.csv file, and each chart’s rect elements are colored steelblue via CSS, while axis labels and titles are styled with D3 text elements.

AI-generated description
MIT Licensed

Similar vizzes