🌍 Public
Viewing a saved revision (read-only)
817714d86d9442fcba6f7e52415a279f
BAR CHART
This bar chart shows the total number of pages per book genre, with genres sorted in descending order along the x-axis and page totals on the y-axis. The visualization uses d3.csv to load a Library_book dataset, then aggregates pages by genre using d3.rollup and d3.sum. The chart is rendered as SVG with d3.scaleBand and d3.scaleLinear for positioning, while d3.axisBottom and d3.axisLeft create the rotated and labeled axes. Each bar is drawn with rounded corners (rx) and styled using CSS custom properties for colors.
AI-generated description