Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

lohithaact7_q2areachart

Public visualization

lohithaact7_q2areachart

0 stars1🌍 Public
LLohitha Konidena
Last edited Apr 9, 2025
Created on Apr 9, 2025
Forked from Hello VizHub

A single-series area chart shows the distribution of patient diagnoses from a heart disease dataset, with the curve encoding diagnosis categories on the x-axis and case counts on the y-axis. The chart uses a monotone curve to smooth transitions between points, with a steelblue filled area beneath the line. The code loads CSV data via `d3.csv`, aggregates counts with `d3.rollups`, and renders the SVG using `d3.area`, `d3.scalePoint`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed