Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Books with Pages

Public visualization

Books with Pages

0 stars0🌍 Public
Mmkt-ds
Last edited Sep 24, 2019
Created on Sep 24, 2019
Forked from Books with Pages

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 description

A 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;

Comments

Sign in to join the discussion.

MIT Licensed