Giter VIP home page Giter VIP logo

Comments (2)

lorsposto avatar lorsposto commented on September 22, 2024

@titusjung @ruthvik947 @luuj @janethkim

from polar.usc.edu.

lorsposto avatar lorsposto commented on September 22, 2024

We'll shift this towards getting some up on the gh-pages branch.

@luuj:
Create a folder to hold data files (json, tsv, csv, etc) in parallel to the js/css folders.
Place the D3 Javascript you find in some team's HTML in a .js file of its own, put it in the js folder.

If you're feeling ambitious, modify their Javascript to embed the visualization to a section of the splash page (like if you look at the D3 currently in the Wicket project). Once the files are in the right folder, make sure you include the script in the HTML file. You may have to examine the console tab of browser dev tools to debug if file paths and things are not quite right.

Otherwise you can pluck an HTML file from the group project and put that up, and link that somewhere in the main page (sort of a external but static D3 gallery I guess). Doing it this way though, it still would be preferable if you separate out the Javascript from the HTML file if the team put them together.

The main goal of this is just to get the data and js directories set up so others can start putting their stuff up.

hmu if you need more direction

from polar.usc.edu.

Related Issues (20)

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.