Skip to main content
Public

Share visualization

Loading preview…

Books with Pages

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Books with Pages

0
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