This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="loading"></div> |
React + D3 exploration with the force layout:
- React for structure
- D3 for data calculation
- D3 for rendering
Pro:
- The viz scales!
- Use all the d3 functions!
Con:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
Forked from syntagmatic and added option to make png from each canvas. Motivated partially to test exporting a png from a canvas element, and partially to be able to capture static pngs once all the rotating options are on. 🎉
Best viewed in standalone view: https://bl.ocks.org/ascott/raw/3d512ee238c8c6c428ed04f11df6c71a/
A Simplex, Hypercube and Cross Polytope from Paul Bourke's Hyperspace User Manual.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
function exportAllSheets() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheets = ss.getSheets(); | |
var sheetsData = {}; | |
for (var i = 0; i < sheets.length; i++) { | |
var sheet = sheets[i]; | |
var rowsData = getRowsData_(sheet); |