Skip to main content
100%

Project Line Chart

✓ Published0🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 23, 2023
Created on Jul 17, 2023
Forked from Activity8_Task3

This line chart visualizes smartphone brand sales across eight quarters from Q2 2021 to Q1 2023, with each brand’s trajectory drawn as a distinct colored line. The example loads a CSV file via PapaParse, parses the data, and renders the chart using Chart.js on a Canvas element. Custom x-axis labels map quarter columns to readable date formats, and random colors are generated per brand to differentiate the datasets. The chart configures a responsive layout with a zero-based y-axis titled “Sales,” demonstrating data import from local files and integration of external libraries.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes