Giter VIP home page Giter VIP logo

echarts3-chinese-map-drill-down's Introduction

echarts3-chinese-map-drill-down

Echarts3**地图下钻至县级

预览地址:https://touxing.github.io/echarts3-chinese-map-drill-down/index.html

map drill down

运行项目

1.git clone 项目

2.在根目录启动一个web服务器访问

使用vscode的同学可以直接用 Go Live 插件

新增功能

添加mock数据

  • 优化地图渲染,如果mock请求数据出错,采取地图自身数据+random人数渲染

  • 接入本地数据

    • 爬取城市数据不完整,有城市级数据的省份,查看 mock/city 目录,山东、河南 有下钻数据
    • 直辖市二级下钻与三级数据入栈判断存在问题

个别直辖市的mock数据没有区域数据,会导致排行榜只有一个数据展示,例如:北京、天津 重庆直辖市没有mock,会从地图渲染,排行榜有区域数据展示

地图资源参考: https://github.com/touxing/echarts-geo-json

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.