Skip to content

Instantly share code, notes, and snippets.

@billdwhite
billdwhite / index.html
Last active August 4, 2023 21:14
d3 Virtual Scrolling Plugin
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Virtual Scrolling Demo</title>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
@billdwhite
billdwhite / index.html
Last active February 7, 2023 05:49
d3 treemap with child highlighting
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Treemap - Neat Zoom Effect</title>
<script type="text/javascript" src="http://www.billdwhite.com/wordpress/wp-content/js/browserdetect/browserdetect.js"></script>
<script type="text/javascript" src="http://www.billdwhite.com/wordpress/wp-content/js/d3/d3.js"></script>
<style type="text/css">
body {
overflow: hidden;
@billdwhite
billdwhite / demo_treemap_04_wrappinglabels.html
Last active November 20, 2020 21:25
treemap with truncating labels
<html>
<head>
<title>Treemap with Wrapping and Truncated Labels</title>
<meta charset="utf-8">
<!-- poor man's browser detection -->
<!--[if IE]><script type="text/javascript">window['isIE'] = true;</script><![endif]-->
<script type="text/javascript" src="./d3/d3.js" charset="utf-8"></script>
<style type="text/css">
html, body {
@billdwhite
billdwhite / treemap_header_02.html
Created August 5, 2014 17:18
d3 Treemap with Headers Demo
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Treemap - Neat Zoom Effect</title>
<script type="text/javascript" src="./d3/d3.js"></script>
<style type="text/css">
body {
overflow: hidden;
margin: 0;
@billdwhite
billdwhite / .block
Created January 24, 2018 21:16
Timelines Chart
height: 700
scrolling: yes
@billdwhite
billdwhite / geo-data-2.json
Created October 16, 2018 19:43
geo-data-2.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@billdwhite
billdwhite / geo-data.json
Created October 16, 2018 19:37
geo-data.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@billdwhite
billdwhite / .block
Created January 26, 2018 17:11
svg-drag
license: mit
@billdwhite
billdwhite / .block
Created January 26, 2018 17:11
drag rows
license: gpl-3.0