Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ozone AQI Count by Days

Public visualization

Viewing a saved revision (read-only)

7ce0548c5e2d4f7eb834e6e8f4123a2b

Ozone AQI Count by Days

0 stars1🌍 Public
Llibramanju
Last edited Apr 8, 2023
Created on Apr 8, 2023

This example shows a pie chart of ozone AQI categories by the number of days each category occurred, with a legend listing each category and its corresponding day count. The chart is generated in React using D3 v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` to create the slices, which are rendered as SVG paths. Data is loaded via `csv` from a GitHub gist and processed to count unique dates per category before being passed to the rendering function.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.