Coder Social home page Coder Social logo

c18topics's People

Contributors

maecapozzi avatar senderle avatar

Watchers

 avatar  avatar

Forkers

maecapozzi

c18topics's Issues

js error on resize

On resize now, a JS error reports:

Uncaught TypeError: svg.attr is not a function
    at resize (plot.js:36)
    at d3.v3.min.js:1

Seems to have something to do with the way the callback is receiving the svg object. It might be necessary to get the svg object into the resize function's closure.

js error on click

Not sure why, but it looks like the recent refactoring is causing a problem when you click on a node to hide the label and then restore it. The label comes back twice as large, and an error appears in the console.

better data modularity

Right now, we just pull a static graph.json file. But it would be cool if instead, we could specify a data file dynamically, say, using an html fragment? That way, instead of having to create five folders to create five graphs, we could have just one folder with five different graphs.

Since different graphs might have subtly different settings, we might also want to pull out a settings json file? We could also have the settings stored inside the graph json file, but that seems too tightly coupled to me.

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.