Rk_ICE 7 Area Chart
This area chart displays the average sales of all mobile phone brands, aggregated from a CSV file and rendered on a Canvas element. The visualization uses D3.js (`d3.csv`) to load and parse the data, then passes the aggregated brand and sales values to Chart.js to create the line chart with a filled area. The chart includes a green title and axis labels, with randomly generated colors for the dataset’s fill and border.
AI-generated descriptionThe files included in the project are as follows:
The HTML file index.html houses the page's structure as well as the required CSS and JavaScript scripts. script.js is a JavaScript file that loads data from the CSV file, uses D3.js to process it, and uses script.js to build a Area chart. style.css is a CSS file that styles the webpage. If necessary, you can add more styles here. Data about mobile phone sales is contained in the CSV file MobilePhones.csv.








Comments
Sign in to join the discussion.