Skip to main content
100%

pie chart ice 7

✓ Published0🌍 Public
MMuraliMohanMekala@my.unt.edu
Last edited Oct 28, 2025
Created on Oct 24, 2025

This chart displays the average fare paid by passengers in each of the three Titanic classes, showing a clear price decline from first to third class. The chart uses a monotone area graph where the x-axis represents passenger class from 1 to 3, and the y-axis shows the average fare in dollars. The visualization is created with D3 v7, using `d3.area` to render the path, along with `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for the axes, and `d3.select` for DOM manipulation. The source data is a predefined array of three averages computed from the passenger records in `data.csv`.

AI-generated description
MIT Licensed

Similar vizzes