Skip to main content
100%

ASS2-QUESTION1

✓ Published0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

A pie chart displays the survival outcomes of Titanic passengers, with slices representing the count of survivors (1) and non-survivors (0). The chart is labeled "Total Passengers" and rendered as an SVG. The code loads data from Titanic.csv using `d3.csv`, aggregates the passenger records with a manual counting loop, and constructs the pie chart with D3 v7, appending the visualization to the page body.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes