DonorsChoose_Visualization

博文源代码:使用 D3.js、DC.js、Python 和 MongoDB 实现交互式数据可视化。「Source for blog post: Interactive Data Visualization with D3.js, DC.js, Python, and MongoDB」

  • Owner: adilmoujahid/DonorsChoose_Visualization
  • Platform: Vagrant,Windows,Linux,Mac
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

DonorsChoose_Visualization

#访问我的博客 : http://adilmoujahid.com

开始

项目的依赖项可以通过以下方式安装

$ pip install -r requirements.txt
 

您可以使用 Vagrant 启动一台运行 MongoDB 实例的机器

$ vagrant up
 

要初始化数据库,您需要下载数据(2024/1/14测试,该数据链接已失效。不过从作者原文可以知道:"DonorsChoose.org data is available on this url".)

$ wget https://s3.amazonaws.com/open_data/csv/opendata_projects.zip && unzip opendata_projects.zip
 

并将其导入

$ mongoimport -d donorschoose -c projects --type csv --file /vagrant/opendata_projects.csv -headerline
 
 

Main metrics

Overview
Name With Owneradilmoujahid/DonorsChoose_Visualization
Primary LanguageJavaScript
Program languagePython (Language Count: 4)
Platform
License:
所有者活动
Created At2015-01-27 16:50:47
Pushed At2017-10-10 18:17:00
Last Commit At2016-10-09 20:35:27
Release Count0
用户参与
Stargazers Count421
Watchers Count38
Fork Count244
Commits Count11
Has Issues Enabled
Issues Count9
Issue Open Count8
Pull Requests Count2
Pull Requests Open Count4
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

DonorsChoose_Visualization

#Visit my Blog : http://adilmoujahid.com

Getting started

The dependencies for the project can be installed using

$ pip install -r requirements.txt

You can use Vagrant to start a machine with a MongoDB instance running

$ vagrant up

To initialize the database you need to download the data

$ wget https://s3.amazonaws.com/open_data/csv/opendata_projects.zip && unzip opendata_projects.zip

and import it

$ mongoimport -d donorschoose -c projects --type csv --file /vagrant/opendata_projects.csv -headerline