Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MuraliM (bar+line) ice6

Public visualization

MuraliM (bar+line) ice6

0 stars0🌍 Public
MMuraliMohanMekala@my.unt.edu
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from ice 6 (bar+line)

This bar chart shows the average Titanic survival rate broken down by passenger class, with percentage labels displayed above each bar. The visualization uses D3.js v7 APIs including `d3.csv` for data loading, `d3.rollups` for grouping and computing means, `scaleBand` for the categorical x-axis, and `scaleLinear` for the continuous y-axis. The SVG rendering includes styled axes with custom formatting via `d3.axisBottom` and `d3.axisLeft`, wrapping text labels, and rectangular bar elements filled with a blue color. Data is processed from a local CSV file containing passenger records.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed