Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Bar graph-task1

Public visualization

Fork of Bar graph-task1

0 stars0๐ŸŒ Public
Aajaysonu
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from Bar graph-task1

This example shows a horizontal bar chart of North American video game sales for the top twelve titles, ranked by their NA_Sales values from a CSV dataset. The chart uses D3 scales (scaleBand for categories and scaleLinear for values) to position bars and axis ticks, while React manages the component state and data loading. The visualization renders as an SVG with red gridlines and labeled axes, using d3.csv to fetch and parse the data, and d3.max to determine the x-axis domain.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed