Skip to main content
100%

Bar chart made with d3.js

✓ Published1🌍 Public
SSebastian Barrett
Last edited Nov 12, 2021
Created on Oct 21, 2021

This bar chart shows the body lengths of various mouse species found in the UK, using data from AMES pest control. The visualization uses d3.v7’s scaleLinear and scaleBand to map lengths and species names, rendering horizontal bars as SVG rects with axes created by axisLeft and axisBottom. The data is loaded from a CSV file and parsed, with the chart’s layout defined by fixed margins and labels positioned via d3’s selection and text methods.

AI-generated description

This bar chat shows the body lengths of the various species of mice found in the UK. The data comes from AMES pest control.

MIT Licensed

Similar vizzes