Skip to main content
100%

Presentation_Task4

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jul 25, 2023
Created on Jul 25, 2023

This bar chart displays the average customer spending on each product category, with horizontal bars representing the price values from the dataset. The visualization uses D3 v5 to load CSV data and render an SVG, employing `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Axis labels are generated with `axisLeft` and `axisBottom`, while each rectangle’s height is set using the y-scale’s bandwidth, and hover effects reduce opacity via CSS.

AI-generated description
MIT Licensed

Similar vizzes