GitHub - vidit1/D3

D3 Charts

A library built on d3 to help plotting different type of charts.

View examples and features

git clone https://github.com/vidit1/D3.git
cd ./D3
python -m SimpleHTTPServer 8000
Open localhost:8000/main.html

How To use

Clone the repo and inclue the follwing files.
JS Files:
<script src="d3Chart/hammer.js"></script>
<script src="d3Chart/d3.js"></script>
<script src="d3Chart/d3Chart.js"></script>
Stylesheet:
<link rel="stylesheet" href="d3Chart/d3.css">

Chart Types

  • Line Chart
  • Area Chart
  • Bar Chart
  • Stacked Bar Chart
  • Pie Chart
  • Multiple Axis Chart (Bar Chart + Line Chart)

Features of a graph

  • Leggend Toggle
  • Select And Deselect all the legend on a single click
  • Tooltip functionality
  • Click + Drag to zoom (Reset zoom)
  • Download CSV
  • Information Modal for chart information