🌍 Public
Viewing a saved revision (read-only)
545e25c2917245aa85d6df8d9b585f33
task3
This scatter plot visualizes the Titanic dataset, plotting passenger age against survival status (0 or 1) with steelblue circles. The code uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load the data, map the values, and render the axes in an SVG. Data is fetched from a remote gist URL, and the visualization fills the full browser window with labeled axes for Age and Survived.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.