My personal blog is: www.ourd3js.comCSDN Blog for: blog.csdn.net/lzhlzzReprint please indicate the source, thank you.This section is a mechanical-oriented map of China, combined with sections 9.2 and 10, where users can drag various provinces of China.The data is a simplified Chinese map file in section 10.1: China_simplify.json1. Define each functionvar projection = D3
Objective
In a nutshell, D3.js,d3.js is a JavaScript library based on data manipulation documents. D3 helps you to bring energy to your data by using HTML, SVG, and CSS. D3 values Web standards to provide you with the full functionality of modern browsers, rather than giving you a proprietary framework. Combines power
location information of node. This completes the same circular pop-up effect as the rubber band.In addition, the navigation bar out is also more abrupt, here also use animation, let it from left to right slowly stretched out:New Animate ({from: {x:x1, y:y1},to: {x:x2, Y:y2},delay:"point '" Bounceout ') function (value) {node.setcenterlocation (value.x, value.y);},}). Play ();The difference from the previous animation is that the point structure of {x, y} is used here, and each frame updates t
Because the next to do the seller background data vertical and horizontal revision, the data visualization of this piece of research and experience of the collation, with you to share the data visualization commonly used in five ways, hope to give you the development of ideas.
Concept
Through the use of graphical means, clear, efficient and effective transmission and communication information. From the u
After listening to nividia's visualization computing technology recently, I feel quite deeply. If transactions or data can be displayed graphically, the most direct feeling can be given. The number of rows in the financial market is huge, and there are more and more types of transactions in the financial market (number of shares, number of funds, number of bonds, derivatives, etc ), if this data is displayed in a more direct way before the eyes of inv
= Rev (levels (Uspopage$agegroup)))Operation Result:If you need to draw a percentage stacked chart, simply modify the underlying data based on the work above.The R language implementation code is as follows:# Convert data to percent format Uspopage_prop = ddply (Uspopage, "year", transform, Percent = Thousands/sum (Thousands) * 100) # base function Ggplot (USP Opage_prop, AES (x = year, y = Percent, fill = agegroup)) + # area graph function Geom_area () + # palette ruler Scale_fill_brewer (
The same series of posts:Python Simple Combat Project: "Ice and Fire song 1-5" Role relationship map constructionPython Simple Combat Project: "Song of Ice and Fire 1-5" construction of role relationship map--Database designScrapy+redis+mongodb distributed crawler crawl novel "Ice and Fire song 1-5"
Let's get a gephi to draw a cool figure diagram.
Each node in the diagram represents a role, the connection b
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.