Skip to content

A Polymer element that creates a bar chart using d3 with the ability to zoom in on specific areas of the data.

Notifications You must be signed in to change notification settings

DigElements/zoomable-bar-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zoomable-bar-chart

A Polymer element that creates a bar chart using d3 with the ability to zoom in on specific areas of the data and preserve that selection for use as a filter.

Example:

<zoomable-bar-chart timeline
  load
  bar-property="bar"
  stack-property="stack"
  data="[[data]]"
  default-label="Unknown Location"
  height="300"
  loading="[[chartLoading]]"
  selected="[[selected]]">
</zoomable-bar-chart>

Dependencies

Dependencies are installed using Bower:

npm install -g bower
bower install

Testing

Tests are run using web-component-tester:

npm install -g web-component-tester
wct

Demonstration & Documentation

Demonstration and documentation are viewed using polyserve:

npm install -g polyserve
polyserve

About

A Polymer element that creates a bar chart using d3 with the ability to zoom in on specific areas of the data.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages