Skip to main content
100%

Customisation! D3.js

✓ Published0🌍 Public
AAli Shah
Last edited Feb 9, 2020
Created on Jan 30, 2020

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
MIT Licensed

Similar vizzes