adilmoujahid / DonorsChoose_Visualization

Source for blog post: Interactive Data Visualization with D3.js, DC.js, Python, and MongoDB
423 stars 244 forks source link

Fixes #7 #8

Closed anubhavcodes closed 8 years ago

anubhavcodes commented 8 years ago

This bug was caused as d3 wasn't able to parse the datetime for the format "%Y-m-%d" as the actual datetime in the mongoDB data was of the format "%Y-%m-%d %H:%M:%S" rendering d["date_posted"] as undefined or null, and calling a setDate on undefined was throwing an exception.

anubhavcodes commented 8 years ago

Duplicate of #3