Giter Club home page Giter Club logo

autodc's Introduction

AutoDC

Create one-time use DC.js charts from csv files.

Try the Demo

Some pictures

Initial page load. Pick an example data set or upload your own. Then click the "Load Data" or "Use this example" buttons.

Initial page load

A simple test example is the Cars dataset from Raw.js

Example Datasets

The table below shows all the columns and their datatypes that were found from the loaded data. It also selects default chart types and enables all the dimensions for charting.

Config Table

Row charts work for most data types, Bar charts require numerical data, and Time charts require Dates. Click the "Go" button to create the actual charts.

Generated charts 2

Let's filter for fast cars (low 0-60s time).

Filtering fast cars

By selecting/filtering a chart, notice that all the other charts updated immediately. Let's now pick the least economical ones (low mpg)

Filtering economic cars

Below the charts is a counter showing on how many data points match the cross-filter criteria out of the total number of data points. Here you can download a copy of the filtered data.

Finally, the table at the bottom shows the filtered data in table-format. It also groups the data by what was selected from the creation table.

Filtered Datatable

Run it yourself

  1. Get npm
  2. Install bower npm install -g bower (might need admin privileges)
  3. Get a static file-server like http-server, Apache, nginx, Caddy, or use Python's built-in SimpleHTTPServer
  4. Get the code, install dependencies, and serve the directory (this is using http-server)
git clone https://github.com/Weatherproof/AutoDC
cd AutoDC
npm i
bower install
npm run build
http-server .

Check it out: http://localhost:8080/public/index.html

Example Data Sets

The example data sets were plucked from PivotTable.js and Raw.js

Future Features

  • An "advanced" view for creating a chart that has more grouping options, allows the user to pick the x-axis and y-axis dimensions, etc.
  • More chart types. DC.js has documentation for donut/pie, line, bubble, scatter, heatmap, choropleth, and boxplot.

autodc's People

Contributors

dstreet26 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.