Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8_Q4.A4

Public visualization

Viewing a saved revision (read-only)

b404a237b35b411e8dd75fecf309b429

Activity 8_Q4.A4

0 stars0🌍 Public
SSeema Shrestha
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity6_Task4

A bubble chart displays patient age and sodium-to-potassium ratio, with bubble size encoding the count of patients per drug and color distinguishing drug types. The visualization uses D3 v6 to load CSV data from a GitHub repository, render SVG circles, and apply scales via `d3.scaleLinear`, `d3.scaleSqrt`, and `d3.scaleOrdinal`. Axes, labels, and a legend are added using `d3.axisLeft` and `d3.axisBottom`, with data aggregated through `d3.rollup`.

AI-generated description