Skip to main content
100%

Online Sales for Purchase value

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 25, 2023
Created on Jul 25, 2023
Forked from Online Sales

This horizontal bar chart displays the number of purchases made for various purchase value categories, limited to the top 15 categories from a CSV of online customer sales. The chart uses React to manage state and render the SVG, while D3 v5 functions like `scaleBand`, `scaleLinear`, `max`, and `csv` handle data loading, scaling, and axis generation. Axes are drawn with D3's `ticks` and custom grid lines, with the x-axis representing purchase counts and the y-axis listing purchase values. The visualization highlights an inverse relationship, where lower purchase values correspond to higher purchase counts.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes