Skip to main content
100%

Assignmnet 2 -Area chart

✓ Published0🌍 Public
Aabdul.khader2899@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This area chart visualizes website traffic trends across five different site categories—News, Travel Blog, E-commerce, Health Portal, and Entertainment Hub—over time using a CSV dataset loaded via d3.csv. Each category is rendered as a semi-transparent filled path using d3.area with curveMonotoneX smoothing, overlaid to show comparative growth. The visualization employs d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and includes a custom legend built with SVG rectangles and text. The code uses d3.v7 and renders entirely as SVG.

AI-generated description

Here we are creating area chart for the website traffic dataset

MIT Licensed

Similar vizzes