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

1
AAkbar Mirsidikov
Last edited Nov 24, 2019
Created on Nov 24, 2019
Forked from Books with Pages

This visualization displays the page counts of eight classic novels using a horizontal bar chart. The books are listed on the y-axis, while the x-axis represents the number of pages with linear scaling. The chart is rendered as SVG using d3.v5, with data loaded from a CSV file and mapped through `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Bars are appended as `rect` elements, and the example includes a modified CSS body rule with `overflow: hidden` to remove scroll bars.

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