Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Online Sales

Public visualization

Viewing a saved revision (read-only)

26f86b99bdef4d949d3869045666f262

Online Sales

0 stars1🌍 Public
MManideeprenikindi
Last edited Jul 24, 2023
Created on Jul 24, 2023
Forked from ICE-6 Bar Charts

This visualization displays the number of purchases for the top fifteen revenue-generating brands in an online sales dataset, using a horizontal bar chart. The revenue totals appear on the y-axis, while purchase counts are mapped on the x-axis. Built with React and D3 v5, the chart uses `scaleBand` and `scaleLinear` for positioning, with SVG `rect` elements for bars and custom tick rendering. Data is loaded asynchronously from a CSV file via `d3.csv`, and the visualization includes blue grid lines to aid value comparison.

AI-generated description

A bare minimum HTML page.