Books with Pages
✓ Published0🌍 Public
This dot plot visualizes the page counts of nine books, sorted in descending order, with each book represented as a circle positioned along a linear scale. The chart uses D3 v5’s `scaleLinear` and `scalePoint` to map pages and book titles, while `axisBottom` and `axisLeft` render axes with custom tick formatting. Data is loaded from a CSV file, and SVG circles are appended to the visualization. The code removes scroll bars by adding `margin: 0px; overflow: hidden;` to the body in CSS.
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