🌍 Public
Viewing a saved revision (read-only)
2f0026a265cf4e629618f8015316f59a
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