Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

CS360 Final Project

Public visualization

CS360 Final Project

0 stars0๐ŸŒ Public
EEric Yao
Last edited Sep 22, 2024
Created on Apr 12, 2024

This dashboard visualizes diabetes prevalence trends across the United States, combining a 2021 choropleth map of state-level percentages with a multi-line chart showing annual age-group trends from 2000 to 2022. The map uses `d3.geoAlbersUsa` projection and `d3.geoPath` to render state boundaries, with a sequential blue color scale mapping percentage values from a CSV; states lacking data appear grey. The line chart uses `d3.scaleBand` and `d3.scaleLinear` axes, plotting four age cohorts as separate colored lines and circles via `d3.line` and `d3.append('circle')`. Data comes from external CSV and GeoJSON sources, rendered entirely with SVG.

AI-generated description

Meant to be viewed in Fullscreen.

Comments

Sign in to join the discussion.

MIT Licensed