Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Video game Sales Global Bar Chart

Public visualization

Viewing a saved revision (read-only)

e41eb971bd5d4df28a0001a1af7d6e32

Video game Sales Global Bar Chart

0 stars0🌍 Public
JJustin Chan
Last edited Apr 4, 2022
Created on Apr 4, 2022

This bar chart visualizes the top 10 best-selling video games globally, ranked by total sales in millions of dollars. It uses d3.csv to load the vgsales.csv dataset, then computes the top 10 entries using d3.maxIndex on the Global_Sales field. The chart renders with SVG rectangles positioned via d3.scaleBand and d3.scaleLinear, and includes axes using d3.axisBottom and d3.axisLeft with custom tick formatting. Tooltips are added via SVG title elements, and the y-axis labels are formatted using d3.format.

AI-generated description

This is a scatter plot chart representation of Eggnog and Buttermilk fluid sales from 2000 to 2017. The milk is measured in millions of pounds of milk. This representation used d3 to visualized it. Reference used was from Professor Alark Joshi's Bar Chart Skeleton for aid in visualisation. Coral or orange represents eggnog while green represents buttermilk

Link to original data set: https://github.com/rfordatascience/tidytuesday/blob/master/data/2019/2019-01-29/fluid_milk_sales.csv

Link to altered data set: https://gist.github.com/jtchan2/0c0f6c4bebf2a874edc6cd59ed2093ad