Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

d3.cartodb

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3.cartodb

d3.cartodb is an experiment to render cartodb visualizations using d3.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

d3.cartodb is an experiment to render cartodb visualizations using d3.

see an example or go to the viz.json viewer (just change the viz.json url in the url)

How to use it

Just create a leaflet map

var map = new L.Map("map", { center: [0, 0], zoom: 3 })
d3.cartodb.viz(viz_json_url, function(err, layers) {
    // work with layer
});

Documentation

You can find the library reference in the doc directory.

Development

This project uses npm and browserify. To install the dependencies use npm install and to build the dists just make.

We use Karma with Jasmine as our testing stack. To run the tests once, run npm test. To run them in a debug environment, with the Chrome developer tools available, run make debugTest.

Notes on CartoCSS support

  • Not all CartoCSS rules are supported. Comp-op, for instance, is not yet available.
  • No more than one symbolizer is allowed per layer.
  • There is some pretty basic text support.

FAQs

Package last updated on 13 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc