Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
jelly-chart
Advanced tools
Jelly-Chart is a chart library based on D3v4 and SVG.
<!-- jsDelivr -->
<script src="//cdn.jsdelivr.net/npm/jelly-chart/dist/jelly.min.js"></script>
<!-- unpkg -->
<script src="//unpkg.com/jelly-chart/dist/jelly.min.js"></script>
$ npm install --save jelly-chart
D3 (required) |
---|
4+ |
<!-- Load D3 and jelly-chart separately -->
<!-- Load D3 first-->
<script src="//d3js.org/d3.v4.min.js"></script>
<!-- Load jelly-chart after D3 -->
<script src="$PATH/jelly.min.js"></script>
Jelly-Chart is written using ECMAScript 6 modules. After importing it, you can create a custom bundle using your preferred bundler.
import jelly from "jelly-chart";
<div id="chart"></div>
var bar = jelly.bar();
//or
var bar = jelly.type('bar');
bar.container('#chart')
.data([
{x: 'A', y: 10},
{x: 'A', y: 20},
{x: 'B', y: 15},
{x: 'B', y: 10}
])
.dimensions(['x'])
.measures(['y'])
bar.render();
To find more detailed usages, check Demo and API Docs.
Use NPM Script to build Jelly-chart
# Install dependencies
$ npm install
# Run dev-server for development
$ npm start
# Test
$ npm test
# Build
$ npm run build
GPL-3.0+
FAQs
Jelly-Chart is a chart library based on D3v4 and SVG.
We found that jelly-chart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.