A7-4 Line Chart
✓ Published3🌍 Public
This chart displays the relationship between weekly attendance and gross earnings for several Broadway shows, with each show represented as a separate colored line. The visualization uses D3.js v7 with an SVG rendering approach, and it applies a linear scale to both axes to plot the data points. A legend identifies the show categories using a categorical color scheme. The chart is built from a CSV data source containing show statistics, and the code leverages `d3.scaleLinear`, `d3.line`, `d3.group`, `d3.scaleOrdinal`, and `d3.legendColor` to construct the visual elements.
AI-generated descriptionMIT Licensed