Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pd-visualization

> 编程语言
Open source

A visualization and interface that helps users explore ~187K digital items from NYPL in the public domain

99 stars0 likes2 views
WebsiteGitHub

About

A visualization and interface that helps users explore ~187K digital items from NYPL in the public domain

Deprecated

As of October 2024, this public domain visualization tool will no longer be updated by NYPL and will soon be archived with limited functionality. The source code for the project can be found here: https://github.com/nypl-publicdomain/pd-visualization and public domain materials can be viewed on Digital Collections here: https://digitalcollections.nypl.org/search/index?utf8=%E2%9C%93&keywords=&filters%5Brights%5D=pd.

NYPL Public Domain Release 2016 Visualization

On January 6th, 2016, The New York Public Library made 187,000 digital items in the public domain available for high resolution download. This is a visualization and interface that helps users explore what was contained in that release.

View the visualization here: http://publicdomain.nypl.org/pd-visualization/

Building the Visualization

To generate the images and data that powers the UI, a number of python scripts have been made to crunch the data

  1. Download and unzip a data dump of NYPL items
  2. Run the following scripts to extract necessary item categories
  • get_captures.py retrieves capture ids to retrieve the images
  • get_dates.py retrieves the creation dates from the items
  • get_genres.py retrieves the genres from the items
  • get_collections.py retrieves the collections from the items
  1. Run download_images.py to download all the images of the first captures of the items
  2. Run get_color_data.py and get_colors.py to get the colors from the images
  3. Run stitch_images.py to stitch together the images for each item category
  4. The following scripts do some pre-processing for the UI:
  • generate_metadata.py - loads all the metadata (title, description, uuid, etc) for the item thumbnail preview
  • generate_labels.py - generates the labels and counts for the righthand column in the UI
  • generate_coordinates.py - generates the pixel coordinates of each item for each collection for easy look-up on hover

Local setup

  1. Install the required packages
bash
npm install
  1. Run the app locally with npm:
bash
npm run start
  1. To re-compile your CSS as you change it during local development, run:
bash
npm run watch

alongside your server.

Deploying

Push to gh-pages to deploy to Github Pages. Be sure to compile before committing by running

bash
npm run build

About the NYPL Public Domain Release

On January 6, 2016, The New York Public Library enhanced access to public domain items in Digital Collections so that everyone has the freedom to enjoy and reuse these materials in almost limitless ways. For all such items the Library now makes it possible to download the highest resolution images available directly from the Digital Collections website.

That means more than 187,000 items free to use without restriction! But we know that 180K of anything is a lot to get your head around — so as a way to introduce you to these collections and inspire new works, NYPL Labs developed a suite of projects and tools to help you explore the vast collections and dive deep into specific ones.

Go forth, reuse, and let us know what you made with the #nyplremix hashtag! For more information:

  • NYPL Labs Remix Residency
  • Data & Tools
  • Public Domain Collections
  • Project Credits

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言