Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CS599 Project 5 - Lines

Public visualization

Viewing a saved revision (read-only)

858d05225806489cbc96c8954105ecef

CS599 Project 5 - Lines

0 stars0🌍 Public
FFedor Sharygin
Last edited Mar 5, 2021
Created on Mar 5, 2021

This visualization displays the sales figures of bestselling video games as a horizontal bar chart, with game titles on the Y-axis and sales numbers on the X-axis. It uses D3.js v6 with scaleLinear for the numeric sales axis and scaleBand for categorical game titles, rendering bars as SVG rectangles. Data is loaded from a CSV file using the d3.csv method, and the chart includes formatted axis ticks that abbreviate large numbers (e.g., converting millions to billions) via d3.format.

AI-generated description