customising axes
This horizontal bar chart displays the 7-day incidence of COVID-19 per 100,000 population across German federal states as of March 2, 2021, with data from the Robert Koch Institute. The visualization highlights state rankings from Thuringia (125) down to Schleswig-Holstein (50). Using D3 v5 with SVG rendering, the code employs `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Custom axis formatting applies `format('.3s')` to tick labels and removes domain lines, while `axisLeft` and `axisBottom` generate the axes.
AI-generated descriptionThis bar chart shows the number and cumulative incidence (per 100,000 population) of laboratory-confirmed COVID-19 cases for each federal state electronically reported to the Robert Koch Institute (RKI), Germany (02/03/2021, 12:00 AM) here.