Skip to main content
100%

Fork of Line chart v1

✓ Published0🌍 Public
SSeegson
Last edited Dec 4, 2022
Created on Dec 4, 2022
Forked from Line chart v1

This visualization shows the evolution of the number of albums released per year for a selected country, displayed as a red line chart with labeled axes. The code initializes the chart for the United States and loads data from a local JSON file using `d3.json`. It employs `d3.scaleTime` and `d3.scaleLinear` for the x and y axes, respectively, with `d3.axisBottom` and `d3.axisLeft` to render the scales. The line itself is drawn using `d3.line`, while SVG elements structure the chart within an HTML page that also includes Bootstrap modals for additional statistics.

AI-generated description

⚠⚠⚠ Si jamais rien ne s'affiche, réactualisez avec ctrl + shift + R ⚠⚠⚠

MIT Licensed

Similar vizzes