Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

447f992b6f84491a86f45ed58ca2a065

Fork of Hello VizHub

0 stars0🌍 Public
Vveeramallivaishnavi3@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from Hello VizHub

This visualization presents the survival distribution of Titanic passengers as a pie chart, using D3.js to render each passenger category as a colored slice. It shows the proportion of survivors versus casualties with interactive hover tooltips that display the count and percentage for each group, alongside a legend summarizing total counts. The chart uses d3.pie and d3.arc to generate the SVG slices, with d3.scaleOrdinal and schemeCategory10 for coloring. Data comes from a CSV dataset fetched from a GitHub gist, filtered by the "Survived" field.

AI-generated description