Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment_7_Line chart_Jaswanth

Public visualization

Viewing a saved revision (read-only)

8b64b1bf936f4c9f8cfa4240c4668e4a

Assignment_7_Line chart_Jaswanth

0 stars2🌍 Public
JJaswanthKoorapati@my.unt.edu
Last edited Oct 27, 2025
Created on Oct 27, 2025

A line chart displays music revenue in million USD per year from 2015 to 2022. Data comes from a remote CSV file loaded with `d3.csv` and `d3.autoType`. The visualization uses `d3.scaleTime` and `d3.scaleLinear` for axes, a `d3.line` generator with `d3.curveMonotoneX` for smoothing, and `d3.axisBottom`/`d3.axisLeft` for ticks. Interactive circles show tooltips on `mouseenter`, `mousemove`, and `mouseleave` events. The chart renders as SVG with gridlines and axis labels in a fixed 750×420 viewport.

AI-generated description