Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

ea348c496e80490f97f9ad9e99b2e466

Customizing Axes

0 stars0🌍 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