Viewing a saved revision (read-only)
0ae797d258eb4f07b6609517ee587df2
ICE-06
This visualization displays the top 20 best-selling games in Japan using a horizontal bar chart, with each bar’s length encoding sales figures and game titles on the y-axis. The chart uses React for component management and D3.js scales (scaleBand, scaleLinear) to map data, while SVG rectangles render the bars with red outlines and yellow fills. Data is loaded asynchronously from a CSV file via d3.csv, sorted by sales, and truncated to the top 20 entries. The chart includes custom axes, tick marks, and grid lines drawn as SVG elements.
AI-generated descriptionEncoding Data with Marks and Channels
This project demonstrates encoding data with marks and channels using React and D3.
Dataset
The dataset used in this project is available at the following link: ICE05-DATA.csv
Getting Started
Clone this repository.
Open
index.htmlin a web browser to view the visualization.
Technologies Used
- React
- D3.js
License
This project is licensed under the MIT License - see the LICENSE file for details.