Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
PPushkov Fedor
Last edited Jul 5, 2020
Created on Jul 5, 2020
Forked from Making a Bar Chart

A horizontal bar chart displays the top six Dota 2 teams by earnings, using custom tick formatting that abbreviates large numbers with an “s” prefix and then converts “G” to “B” to show values in billions. The chart removes axis domains and gridlines from the y-axis while adding a custom axis label and title. It uses d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, rendering as SVG. The data comes from a local CSV file with team names and earnings.

AI-generated description
MIT Licensed

Similar vizzes