Skip to content

Instantly share code, notes, and snippets.

@vertighel
vertighel / Readme.md
Last active December 15, 2015 03:19
Fits image with svg overlay
@vertighel
vertighel / Readme.md
Last active December 14, 2015 21:18
Input an array and update a list

By changing the values in the input tag, a list is updated and styled using css an dynamic colors.

@vertighel
vertighel / README.md
Last active December 14, 2015 00:48 — forked from mbostock/.block
Solar Terminator with Zoom
@vertighel
vertighel / README.md
Last active May 21, 2018 14:52
svg labels with saving button

Simple Form to add text elements to an svg image, inspired by a duopixel example. The number of the elements are defined by a simple text array. The text of the array elements will be used to set IDs and classes.

Clicking on the link will download the svg image (tested on Chromium, Firefox and Opera).

Comments in Italian language.

@vertighel
vertighel / README.md
Last active December 12, 2015 08:19
Reusable Table

Updating a table with a reusable chart, inspired by this syntagmatic's block example and corrected thanks to stackoverflow

If we give by command line

/// choosing specific filters on columns and lines
tab
    .columns(["#ay","U","B","V"])
 .lines("#ay", 6.86); 
@vertighel
vertighel / README.md
Last active December 12, 2015 08:19
Zoomable Line Chart with dataset selection

Zoomable Reusable Line Chart with the possibility to choose a dataset. In origin the datasets are retrieved by an XMLHttpRequest(); request.