Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar graph-task1

Public visualization

Viewing a saved revision (read-only)

6770a8c33b8b4b458e8767e75bdaf759

Bar graph-task1

0 stars7🌍 Public
SSheela2930
Last edited Apr 8, 2023
Created on Mar 22, 2023

This interactive bar chart, built with React and D3 v5, visualizes the top 12 video games by their North American sales figures. Each game is represented by a rectangular bar, with the horizontal axis encoding sales value and the vertical axis categorizing game titles. The chart is rendered as an SVG within a React component, using D3's `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with data loaded from a CSV file via `d3.csv`. A second, separate plotly-based 3D scatter plot is also included in the project files, but the main gallery view shows the D3 bar graph.

AI-generated description

A whole smiley face