Skip to main content
100%

Custemizing Axes

✓ Published1🌍 Public
MMartin Christensen
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from Hello VizHub

This example visualizes total final tax in Denmark from 2000 to 2018 using a horizontal bar chart, with data sourced from Danmarks Statistik. It uses `d3.scaleBand` for the year axis and `d3.scaleLinear` for the tax values, rendering in SVG. The code customizes axes by removing default domains and tick lines, applying `d3.axisLeft` and `d3.axisBottom`, formatting tick labels with `d3.format('.3s')`, and adding a custom axis label.

AI-generated description

Viser E.1. Slutskat i alt i Danmark i perioden 2000-2018 fra Danmarks Statistik

MIT Licensed

Similar vizzes