Code Monkey home page Code Monkey logo

jstreemap's Introduction

Utilizing the jQuery widget factory and HTML5 canvas this Javascript treemap widget presents hierarchical data using the squarified treemap layout algorithm described in http://www.win.tue.nl/~vanwijk/stm.pdf, Squarified Treemaps, by Mark Bruls, Kees Huizing and Jarke J. van Wijk.  
Development and testing has primarily been limited to current versions of Chrome, Safari and FF.

jstreemap's People

Contributors

bgrohman avatar evancarey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jstreemap's Issues

leaf nodes not rendered

v0.4.0 In windows 7 and FF 14.0.1 leaf nodes are not rendered in example tm in index.html. Geometry is created and can be seen via the highlighter as mouse moves across canvas. FF console shows no errors.

Suggestion: Separate source files, build process, CommonJS & AMD support

Evan,

As I'm looking at the code, I'm noticing that there isn't a lot of functionality right now being provided by jQuery. If you don't deliver this as a jQuery widget, it might make it easier to break up the code into separate files (to be combined and minified as part of a build using something like Anvil - https://github.com/arobson/anvil.js) and implement support for AMD and CommonJS (see https://github.com/rniemeyer/knockout-kendo/blob/master/src/knockout-kendo.js as an example that supports AMD and CommonJS and uses Anvil).

Thoughts?

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.