🌍 Public
Viewing a saved revision (read-only)
5a4c9b57e349418bb47e6a1e704809f6
Customisation! D3.js
This example displays the top 10 most popular dog names in NYC using a horizontal bar chart. The visualization shows the count of each name, with bars sized proportionally to their values. The code uses D3 v5 with an SVG rendering approach, reading data from a CSV file. It employs `d3.scaleLinear` and `d3.scaleBand` for axes, while `d3.axisBottom` and `d3.axisLeft` generate the ticks. The chart is customized through CSS styling, including steelblue bars and formatted tick labels using `d3.format`.
AI-generated description