Skip to main content

Fanstatic package for D3.js

Project description

This library packages D3.js for Fanstatic.

This requires integration between your web framework and Fanstatic, and making sure that the original resources (shipped in the resources directory in js.d3) are published to some URL. This library also packages up a minified version of D3.js.

Usage

You can import d3 from js.d3 and need it where you want these resources to be included on a page:

>>> from js.d3 import d3
>>> d3.need()

Updating this package

In order to obtain a newer version of this library, do the following, editing the version name (eg 3.4.13) accordingly:

pushd js/d3/resources
VERSION="v3.5.5"
wget https://github.com/mbostock/d3/raw/$VERSION/d3.js -O d3.js
wget https://github.com/mbostock/d3/raw/$VERSION/d3.min.js -O d3.min.js
popd
#Edit setup.py for versions
git commit -a -m "Updated for release $VERSION"
git push

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js.d3-3.5.5.zip (132.2 kB view details)

Uploaded Source

File details

Details for the file js.d3-3.5.5.zip.

File metadata

  • Download URL: js.d3-3.5.5.zip
  • Upload date:
  • Size: 132.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.d3-3.5.5.zip
Algorithm Hash digest
SHA256 a9a92d2c824df096d2cc92817be61f99a5134dd3e449dcc60a835db5678851a7
MD5 8908e1566b09c2c76e2f72b25c7f6864
BLAKE2b-256 6c7dcaf7370b220d9400d2415a64a228ff079b044c37d058b8bfb49c1de1238b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page