Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

T9Q1

Public visualization

Viewing a saved revision (read-only)

4919e9f765ce444f8b81413a69df3db1

T9Q1

0 stars0🌍 Public
Aaadesh.pranesh@gmail.com
Last edited Apr 19, 2024
Created on Apr 19, 2024
Forked from T8 Tut1

This pie chart shows the mortality rate from mental health deaths across different countries in the United States. The visualization uses D3 v5 with a standard SVG rendering approach, employing `d3.pie()` and `d3.arc()` to generate the chart segments. Each slice is colored using `d3.scaleOrdinal()`, with country names labeled directly on the segments and a legend on the right displaying country names and their corresponding death counts. The data is loaded asynchronously from a CSV file hosted on GitHub.

AI-generated description