Giter Site home page Giter Site logo

chinavis19-c1's Introduction

ChinaVis19-1

链接

http://chinavis.org/2019/challenge.html

注意

访问本地json的安全性问题,只能使用远端json
右键chrome图标选择属性,在“目标/target”那一栏里的最后加上--disable-web-security

文件目录

  • analysis: 数据分析的脚本等 e.g. python,jupyter notebook
  • data
  • results: 截图等分析结果
  • web: 最终用于展示和交互fen分析的网页应用

视图

  • 当前视图有:
    • 地图-map
    • 折线图-line
    • 聚类视图-cluster (分为了两个div: cluster-overview和cluster-detail)
    • 甘特图-gantt

框架说明

  • 布局
    div按照视图的名字进行了命名
    样式大小等有需要调整的请修改web/css/main.css文件
  • js
    js文件按照同样的名字命名
    请将js代码填入对应文件
  • 交互
    • 发送消息
      例如,当在聚类视图中选中人员时,可以调用下面的语句发送消息 Observer.fireEvent("selectid",[...],Cluster); 参数分别为:消息名字,数据,发送者
    • 接收消息
      例如,如果map要接受Cluster发来的selectid消息,则将要响应的操作写在注释的区域
    map.onMessage = function(message, data, from){  
        if(message == "selectid"){  
    		if(from == Cluster){	  
    			/* response to the event "selectid" */
    		}
    	}
    }

chinavis19-c1's People

Contributors

sjtuzwj avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.