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

@geoblocks/d3-helper

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoblocks/d3-helper

d3 helper classes

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by1500%
Maintainers
5
Weekly downloads
 
Created
Source

d3-helper

Helper functions to create charts based on d3.

This library provides some classes and function for common operations with the d3 library. It let you able to manage your chart as you want.

Use the code in a project.

Simple use it through npm @geoblocks/d3-helper. See the examples for more informations on how to set the basics of your chart.

Overview

BaseD3ChartSVG

Class that provides functions to draw, clean and manage a SVG with a chart inside.

CartesianChart

Extends BaseD3ChartSVG. Class that provides functions to manage cartesian charts (bars, scatterplots, lines...) Especially manage the axis of cartesian charts.

Supported browsers

The code was only tested on moderns browsers. The source is only transpiled to modern es. If your browser doesn't support the code, PR are welcome (updating your browser too).

Run the examples

git clone git@github.com:geoblocks/d3-helper.git
npm install
npm run build
npm run start

Examples are now accessible at http://localhost:8080/

Build the doc

npm run doc

Api doc is now accessible in folder apidoc

Publish a new version to npm

npm version patch
npm publish
git push --tags origin master

Upcoming (probably):

  • More examples.
  • Tooltips helpers for data.
  • Tests.

Keywords

FAQs

Package last updated on 31 Mar 2020

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