Skip to main content
Public

Share visualization

Loading preview…

A7-4 Line Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

A7-4 Line Chart

3
Jjrcuster@dons.usfca.edu
Last edited Mar 15, 2025
Created on Mar 15, 2025

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 description

Comments

Sign in to join the discussion.

MIT Licensed