Skip to content

Penguin-Watch/visual-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Portal

Using your own data

Simply modify the index.html file in docs and change the file path

<script src="assets/js/lib/d3.min.js"></script>
<script src="assets/js/lib/d3-tip.js"></script>
<script src="assets/js/lib/crossfilter.min.js"></script>
<script src="assets/js/lib/dc.min.js"></script>
<script src="assets/js/data-portal.js"></script>
<script type="text/javascript">
	 // Change this to your data file.
    dataPortal.render('data/zooout merged.csv');
</script>

Adding more parameters

See my tutorial on creating dashboards with dc.js and crossfilter.js to learn how to modify the code to fit different data.