Skip to main content
100%

CHAPTER 3 LECT NOTES PRACTICE

✓ Published0🌍 Public
BBismark Kofi Owusu Sarfo
Last edited Sep 9, 2025
Created on Sep 9, 2025

This horizontal bar chart ranks cryptocurrencies by market capitalization, displaying each coin’s name to the left of a blue bar and its market cap value to the right. Built with D3 v7, the visualization uses `scaleLinear` and `scaleBand` to map market cap values and coin names, with data loaded from a CSV file. The chart draws axes on both top and bottom, using `axisTop` and `axisBottom` with a formatted tick label that appends "market cap" to abbreviated values.

AI-generated description
MIT Licensed

Similar vizzes