GithubHelp home page GithubHelp logo

ggd3's Introduction

GGD3


Grammar of graphics in D3.js

Roadmap:

  • Fixed/free space
  • Pan and zoom on x and y axes.
  • Brush on one axis or both axes
    • Scatterplot highlights according to datapoint value or id
  • Context brush for either axis, [linear, ordinal, or time]
  • All global aesthetics (fill, color, alpha, size) are aggregated according to the facet and groupings, and the median is calculated if it is numeric. If it is a factor and it was a grouping variable (fill, color, group), the first observation of the array is taken, because the will all be the same. If it was not a grouping variable (fill and color may not be), it is calculated. Other calculations are available. Min, max, mean, percentile.
  • tooltip displays all known data for given point.
  • Initial geoms:
    • geom bar with stack, group and expand options
    • point w/ jitter on ordinal axis
    • line, hline, vline, abline
    • box
    • geom error that mounts on geom point, bar, box, line, etc.
    • smooth with loess or lm methods
  • Possible adoption of bin-summarize-smooth methods to replace plots that draw too many DOM elements.
  • Sampling methods for large datasets

Problems and questions:

  • Find smarter way to decide, during computation step, which axis is the number and which the factor. Currently my dtypes function returns a two tuple
    • the first is one of "number", "string", or "date"
    • the second is one of "few" or "many", 20 being the cutoff
    • if it's a date, a third element can be the format to be passed to axes.
    • doing it like this prohibits drawing 100 boxplots on a single facet
  • Introducing several layers and allowing them to map different variable names tto the same aesthetic confuses me. If layer 0 maps "foo" to 'fill' and layer 1 maps 'bar' to 'fill', do I go through both and create a fill scale based on the union? I say layer one is special and should contain all relevant catagorical scale info. Subsequent layers can expand numeric domains, only.
  • The more I do, the more the "layer" element seems to be important in theory only. As such, layer-specific features such as position, aesthetics, and even data, should be able to be set directly on the geom.
  • In general, when passing data to a layer or a plot object, dates must be explicitly declared and given a format to be interpreted.

ggd3's People

Contributors

bjameshunter avatar

Stargazers

 avatar Edward Xie avatar Leonardo Metzger avatar Dalci de Jesus Bagolin avatar  avatar Richard Lopes avatar Leo Lu avatar Chia-Chi Chang avatar Homer White avatar Daniel Filonik avatar Cameron Yick avatar Noah Bullock avatar Wey-Han Liaw avatar Tejas Kale avatar Stephen Downing avatar Jürgen Hermann avatar Juan Pablo de la Cruz Gutiérrez avatar Anders Barfod avatar  avatar Will Jones avatar Li Yi avatar Shinya Uryu avatar Shohi Wang avatar Joshua Jackson avatar Travis Taylor avatar Søren Nguyen Boisen avatar Freeman Wang avatar PB avatar Aaron Kaluszka avatar James Wright avatar Mitch Crowe avatar Mert Nuhoglu avatar Peter Kok avatar Kenneth Lim avatar Scott Dunlop avatar Ethan Sherbondy avatar Daegwon Nacyot Kim avatar Jean-Bernard DIEN avatar Thomas Gratier avatar Alex Bresler avatar Vincent Nijs avatar Tobias Madsen avatar Simon Chihnai Ku avatar  avatar Shahbaz Chaudhary avatar Douglas La Rocca avatar Dean Farrell avatar Tai avatar Tyler Burton avatar Raymond Cheng avatar Daniel Falbel avatar Tom VanAntwerp avatar Bret Davidson avatar Mateusz Bilski avatar  avatar Ryan avatar Sebastian Koslitz avatar Carl V. Lewis avatar Md. Helal Uddin avatar Chee Aun avatar Athan avatar Jonathan Schoonhoven avatar Jason Trost avatar boB Rudis avatar  avatar G_will avatar  avatar Tyler Rinker avatar Kevin Mader avatar  avatar Gergely Daróczi avatar Jo-fai Chow avatar Jeffrey W Hollister avatar Andy Teucher avatar Karl Broman avatar Karthik Ram avatar Forest Fang avatar Peter Meissner avatar Petri Kola avatar Gábor Csárdi avatar timelyportfolio avatar Joel Bondurant avatar

Watchers

Michael Dubakov avatar Alex Bresler avatar timelyportfolio avatar Carson Sievert avatar Jonathan Schoonhoven avatar Athan avatar Andy Teucher avatar Vincent Nijs avatar Shelby Sturgis avatar Devin Pastoor avatar  avatar  avatar Simon Chihnai Ku avatar  avatar

ggd3's Issues

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.