Skip to content

A D3.js-based geologic time scale that utilizes the Paleobiology Database

License

Notifications You must be signed in to change notification settings

UW-Macrostrat/geo-timescale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geo-timescale

npm version

A modular D3.js-based geologic time scale that utilizes data from the Paleobiology Database. A live demo (v2) can be found at Observable.

A live demo of v1 (compatible with d3 version 3) can be found at bl.ocks.org.

import { geoTimescale } from "@macrostrat/d3-timescale";

geoTimescale("#timescale-container", [config]);

Usage

The config parameter is an object can contain the following properties:

  • width
  • height
  • tickLength
  • neighborWidth
  • fontSize

If any of these properties is not present, a default value will be used.

Installing

The package is published at NPM at @macrostrat/d3-timescale.

npm install @macrostrat/d3-timescale

Funding

Development of first version supported by NSF EAR-0949416.

About

A D3.js-based geologic time scale that utilizes the Paleobiology Database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •