Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart- Data Visualization

Public visualization

Viewing a saved revision (read-only)

928ec5d4992f4cc1ae2b08f0c9bed3d4

Fork of Line Chart- Data Visualization

0 stars0🌍 Public
Bblikitha
Last edited Mar 28, 2022
Created on Mar 28, 2022

This line chart displays the top 10 book-selling countries by showing the relationship between published year and total sales price. The visualization uses D3 v5 to render an SVG with time-scaled X axis and linear Y axis, incorporating grid lines and axis labels. Data is loaded from a CSV file hosted on GitHub, with dates parsed using d3.timeParse. The line is drawn using d3.line, and scales are created with d3.scaleTime and d3.scaleLinear, while axes are generated using d3.axisLeft and d3.axisBottom.

AI-generated description