Scientific Data Visualisation ICE7 Part 3
✓ Published0🌍 Public
This visualization displays the electronic sales trends in Nepal from 2013 to 2022 using a line chart. The chart shows sales figures over time, with a red line plotted against a time-based x-axis and a linear y-axis for sales amounts. Built with D3 v5, the code uses `d3.scaleTime`, `d3.scaleLinear`, `d3.axisLeft`, `d3.axisBottom`, and `d3.line` to construct the visualization. The data is loaded from a CSV file using `d3.csv`, with dates parsed via `d3.timeParse` and rendered as an SVG.
AI-generated descriptionMIT Licensed