Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Vvpruden1
Last edited Sep 19, 2020
Created on Sep 18, 2020
Forked from Customizing Axes

This example displays a bar chart of IT company counts across Scottish regions, with company numbers mapped to bar widths and regions listed vertically. The visualization customizes both axes by removing default tick lines and domains, then adds custom text labels for the x-axis and chart title. The code uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom to render axes, with SVG rectangles drawn for each bar.

AI-generated description
MIT Licensed

Similar vizzes