Skip to content

Instantly share code, notes, and snippets.

@Thanaporn-sk
Thanaporn-sk / .block
Created August 18, 2016 02:17
Text on an Arc - Animate from Arc to an Arc
height: 400
@Thanaporn-sk
Thanaporn-sk / README.md
Created August 18, 2016 13:33 — forked from wizicer/README.md
Sunburst for your skill map

Extract from my work, you can a demo in live Combined sunburst and line chart, currently you must generate the data by yourself, I also uploaded the skills.xlsx file to help generate this file(skillsdata.js).

Features:

  • [TODO]works with data that is in a CSV format (you don't need to pre-generate a hierarchical JSON file, unless your data file is very large)
  • interactive breadcrumb trail helps to emphasize the sequence, so that it is easy for a first-time user to understand what they are seeing

If you want to simply reuse this with your own data, here are some tips for generating the skillsdata.js file:

@Thanaporn-sk
Thanaporn-sk / .block
Created August 20, 2016 03:31
Freehand drawing
license: gpl-3.0
@Thanaporn-sk
Thanaporn-sk / .block
Created August 20, 2016 03:46
Isometric treemap (flare)
license: gpl-3.0
@Thanaporn-sk
Thanaporn-sk / .block
Created August 30, 2016 04:37
Stephen Few's Student Dashboard with d3.js
license: gpl-3.0
@Thanaporn-sk
Thanaporn-sk / README.md
Created September 21, 2016 13:41 — forked from robschmuecker/README.md
D3.js Drag and Drop, Zoomable, Panning, Collapsible Tree with auto-sizing.

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@Thanaporn-sk
Thanaporn-sk / README.md
Created October 4, 2016 08:28 — forked from chrisrzhou/README.md
Dances with Factors

Dances with Factors

bl.ocks.org link

Dances with Factors visualizes prime factorization of integers.

The fundamental theorem of arithmetic states that every integer greater than 1 is either prime itself or a product of prime numbers.

The project is created using D3.js.


@Thanaporn-sk
Thanaporn-sk / .block
Last active October 4, 2016 15:39
D3 Sunburst Changing Data
license: mit
@Thanaporn-sk
Thanaporn-sk / .block
Created October 7, 2016 16:20
A classic comparison (sorted)
license: mit
license: mit