Skip to main content
100%

ICE-06

✓ Published0🌍 Public
Ssatishnarne99@gmail.com
Last edited Mar 21, 2024
Created on Mar 20, 2024
Forked from Hello VizHub

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 description

Marks and Channels

Welcome to the ICE-6! Here, we'll explore encoding data with marks and channels in data visualization.

Marks

Marks are the basic elements like points, lines, and areas that form our visualizations.

Channels

Channels give marks their meaning. They include position, color, shape, and size.

Example Dataset

Use your own dataset

Let's Get Visual!

We'll use D3.js and SVG to create interactive and scalable visualizations.

Let's dive in and explore marks and channels in data visualization! 🚀

MIT Licensed

Similar vizzes