Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 9 & 10 D3 Q2 Area chart UN

Public visualization

Viewing a saved revision (read-only)

b84b4b666b574ec68021101bc8d3a5e6

Task 9 & 10 D3 Q2 Area chart UN

0 stars0🌍 Public
Uuzairnaeem15@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024

This area chart displays quarterly worldwide user numbers for Twitter, Instagram, and Facebook from Q1 2016 through Q4 2020, with each dataset layered as a filled line using gradient colors. The chart uses Chart.js with the chartjs-plugin-zoom extension to enable interactive panning and zooming via mouse wheel or pinch gestures. It renders to a Canvas element within an 800x400 pixel container, and includes tooltips and a bottom-positioned legend for cross-platform comparison. The data is hardcoded in the script and reflects growth trends across the three social media platforms.

AI-generated description

A demonstration of reusable scatter plot.