CHAPTER 3 LECT NOTES PRACTICE
✓ Published0🌍 Public
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 descriptionMIT Licensed