This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DATABASE_NAME = 'test_db'; | |
var DB_USERNAME = 'abc'; | |
var DB_PASSWORD = 'abc@123'; | |
var Sequelize = require('sequelize'); | |
var FS = require('fs'); | |
var sequelize = new Sequelize( | |
DATABASE_NAME, | |
DB_USERNAME, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
</head> | |
<body onload="addCircle()"> | |
<input type="button" onclick="addCircle()" value="Click here to add balls"></input> | |
<div id="viz"></div> | |
<script type="text/javascript"> | |
var width=1000; |