Skip to main content
100%

Task-9 Q2

✓ Published0🌍 Public
Hharshaps15@gmail.com
Last edited Apr 23, 2024
Created on Apr 23, 2024
Forked from Task-9 Q1

This visualization compares sales figures for six car manufacturers—Ferrari, Mercedes, Audi, Porsche, BMW, and McLaren—using hardcoded data. It renders a filled area chart in SVG, where the area’s height corresponds to each brand’s sales value. The code builds the chart with d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.area to generate the filled path. Axes are added via d3.axisBottom and d3.axisLeft, with labels and a title included.

AI-generated description
MIT Licensed

Similar vizzes