Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart

Public visualization

Line chart

0 stars0🌍 Public
SSaiipriiya
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from HTML Starter

This line chart displays flight charges over a range of years, using a time-scaled x-axis and a linear y-axis. The visualization is rendered as an SVG using D3 v5, with data loaded from an external CSV file. The code employs D3’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to plot the trend. Axis labels and tick marks are configured with custom margins, and the line path is styled with a blue stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed