Giter VIP home page Giter VIP logo

elm-visualization's Introduction

Elm-visualization

Tutorial | Docs | Examples | GitHub | Changelog | #visualization on Elm slack

This project is designed to give you all the tools needed to build data visualizations. It is not a charting library in the sense that you have pre-bundled Excel-style charts, but it should contain all the tools to make building such charts relatively easy. The advantage is that you are free to design and build data visualizations that uniquely suite your needs.

Learn by example

Examples

or read the introduction.

Getting started

You will need to have elm installed. Then run:

elm init
elm install gampleman/elm-visualization

However, there are other packages that you will likely need to produce a visualization. Which depends somewhat on what you want to achieve, here are some common ones:

You can use this Ellie to run the examples, since it has all the dependencies already installed into it.

What's included?

Most of the time you have data that has properties that you want to display on the screen, however these properties typically aren't in pixels. Scales solve this fundamental problem by giving you convenient ways to transform raw data into positions, sizes, colors, labels and other ways to display data.

A component that allows you to visualize a Scale. Those little ticks that describe the dimensions of a plot.

This module gives you ways to draw some fundamental shapes used in data visualization, including lines (as in line or area charts), as well as arcs (as in pie charts).

Use a simulation of physical forces to do layout. Suitable for i.e. network graphs.

Layout algorithms for dealing with trees.

Smoothly transition between pairs of values. Useful for animation, or generating gradients of values.

Build complex animations using Interpolation.

Compute histograms of data.

Interactively select subregions of a dataset.

Build pan and zoom user interactions.

Process data to extract useful insights for visualizations.

Acknowledgements

Heavily inspired by parts of the D3 library by Mike Bostock. However since Elm provides a great DOM abstraction already, selections are not part of this library.

Contributing

This library is still under active development, so please submit feature requests iff you are also willing to implement them. Bug reports are welcome.

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.