Skip to content

Instantly share code, notes, and snippets.

@gordonwoodhull
Last active May 11, 2018 21:25
Show Gist options
  • Save gordonwoodhull/9ab997c9a8d7d3380364 to your computer and use it in GitHub Desktop.
Save gordonwoodhull/9ab997c9a8d7d3380364 to your computer and use it in GitHub Desktop.
dc.js example
license: mit
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/dc@3/dc.css" />
<script src="https://unpkg.com/d3@5/dist/d3.js"></script>
<script src="https://unpkg.com/[email protected]/crossfilter.js"></script>
<script src="https://unpkg.com/dc@3/dc.js"></script>
<script src="https://rawgit.com/crossfilter/reductio/master/reductio.js"></script>
<script src="https://npmcdn.com/universe@latest/universe.js"></script>
<style>
</style>
</head>
<body>
<!-- add chart divs here -->
<script>
// add dc.js chart initialization code here; you can also
// load data from assets in your gist using d3.csv('filename', ...)
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment