Skip to content

Instantly share code, notes, and snippets.

Avatar

Nilan-jan revelutions

View GitHub Profile
@revelutions
revelutions / 0471081124_force.json
Last active Aug 29, 2015
Testing d3js force directed graph with collision
View 0471081124_force.json
{"nodes":[{"name":"0471081124","title":"Lessons Learned in Software Testing: A Context-Driven Approach","count":11,"group":1},{"name":"0471358460","title":"Testing Computer Software, 2nd Edition","count":7,"group":1},{"name":"0201796198","title":"How to Break Software: A Practical Guide to Testing W/CD","count":9,"group":1},{"name":"0470404159","title":"Managing the Testing Process: Practical Tools and Techniques for Managing Hardware and Software Testing","count":9,"group":1},{"name":"0672327988","title":"Software Testing (2nd Edition)","count":5,"group":1},{"name":"0321534468","title":"Agile Testing: A Practical Guide for Testers and Agile Teams","count":10,"group":1},{"name":"1439229074","title":"Software Testing: Fundamental Principles and Essential Knowledge","count":4,"group":1},{"name":"0321803027","title":"How Google Tests Software","count":10,"group":1},{"name":"0201432870","title":"Automated Software Testing: Introduction, Management, and Performance: Introduction, Management, and Performance","coun
@revelutions
revelutions / cities.json
Last active Dec 19, 2015
Testing jquery popover with d3js
View cities.json
{
"name": "City Population",
"children": [
{
"name": "India",
"children": [
{
"name": "Thanjavur",
"size": "222619",
"link": "http://en.wikipedia.org/wiki/Thanjavur"
View .gitignore
# Editor backup files
*.bak
*~
View .gitignore
# Editor backup files
*.bak
*~
@revelutions
revelutions / area2.json
Last active Dec 13, 2015
GDP of all countries (derived from Mike Bostock's work)
View area2.json
{
"name": "Area",
"children": [
{
"name": "group0",
"children": [
{
"name": "Tokelau",
"size": 1500000,
"link": "https://www.cia.gov/library/publications/the-world-factbook/geos/tl.html"
@revelutions
revelutions / area.json
Last active Jun 8, 2021
Mike Bostock's zoomable pack hierarchy with my data.
View area.json
{
"name": "Area",
"children": [
{
"name": "group3",
"children": [
{
"name": "group0",
"children": [
{
@revelutions
revelutions / README.md
Last active Dec 12, 2015 — forked from mbostock/.block
Creating a sample of the problem I am facing with the pack layout
View README.md

Modifying the original with my data Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.27.2"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.27.2"></script>
<style>
.link {
fill: none;