Books with Pages
✓ Published0🌍 Public
A horizontal bar chart displays the page counts of eight classic novels, from Jane Eyre to War and Peace. The visualization uses D3 v5 with a linear scale for the x-axis and a band scale for the y-axis, rendering bars as SVG rectangles. The code imports specific functions like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` from D3. Data is loaded from a CSV file, and CSS removes scroll bars by setting the body margin to zero and overflow to hidden.
AI-generated descriptionA fork of @leorawe: Books with Pages that shows how to get rid of the scroll bars.
The following CSS was added to the body section:
margin: 0px;
overflow: hidden;
MIT Licensed