[D3.js entry series, d3.js entry series
My personal blog is: www.ourd3js.com
The csdn blog is blog.csdn.net/lzhlzz.
Please indicate the source for reprinting. Thank you.
Pack is used to contain the relationship with the object to be included. It also indicates the weight of each object. A circle is usually used to repr
[D3.js pro series-1.0] Reading CSV table files, d3.jscsv
In the tutorials of the Getting Started series, we often use d3.json () functions to read files in json format. The json format is very powerful, but it may not be suitable for common users. Common users prefer table f
[D3.js advanced series-8.0] marking and d3.js series 8.0 Marking
Sometimes, you need to draw a line on the map, which means "from somewhere to somewhere". In this case, the line drawn on the map is called "".
1. What is the marking line?
A baseline is an element on a map that requires more than two coordinates. For ex
Learning D3.js (hereinafter referred to as D3) also has a period of time, run D3 do a few projects. I found that Chinese D3 tutorials very few, foreign materials but require a certain degree of English reading ability (recommended site: Http://bl.ocks.org/mbostock), so the g
[D3.js advanced series-1.2] solution for garbled characters when reading CSV files, d3.jscsv
When d3.csv is used in D3 to read CSV files, garbled characters may occur. How can this problem be solved?1. garbled Problem
When reading the xxx.csv file using
[D3.js advanced series-1.1] Reading of other table files, d3.js1.1
CSV table files use commas as unit delimiters, other TSV files with Tab as unit delimiters, and table files with other manually defined delimiters. This article describes how to read them in D3.1. What is a TSV table file?
TSV (Tab Separated Values), tabulation delimiter value, which is different
[D3.js advanced series-6.2] drag and drop a pie chart, d3.js6.2
This article describes a more complex drag-and-drop application, that is, the drag-and-drop Pie Chart Section.
In Chapter 9.1, I will explain how to create a pie chart. Each part of a pie chart is represented by an arc with width. When interacting with users, it is interesting to drag and drop each
[D3.js advanced series-6.0] Drag and drop applications (Drag) and d3.jsdrag
Drag (Drag) is an important interactive method. This article describes how to use Drag and drop.1. Definition of drag
D3.behavior. drag () can be used in D3 to define the drag behavior.
var drag =
[D3.js advanced series-4.0] Draw arrows, d3.js4.0
Drawing in the SVG drawing area, when drawing a line and curve, you often need to add an arrow somewhere. This article describes how to add arrows to straight lines and curves in D3.
So far, we have drawn D3 charts in the S
[D3.js pro series-4.0] matrix tree, d3.js4.0
A matrix tree (Treemap) is also an extension of hierarchical layout. areas are divided into rectangular sets based on data. The size and color of the rectangle are the reflection of data. As shown in figure 1, many portal websites arrange photos in rectangles of different sizes. This is the application of the matrix tr
[D3.js advanced series-10.0] Mind Map, d3.js10.0
The nodes of the Mind Map have hierarchical and affiliation relationships, which are similar to the shapes in which branches stretch from the trunk. As mentioned above, five layout and cluster layout are expanded by hierarchical layout) the layout chart has a "Tree" structure ". Therefore, you can use these two la
[D3.js advanced series-3.0] partition graph, d3.js3.0
The Partition graph is also a Layout of D3 ). This layout is very interesting. It can be made into a square or a circle. This article first introduces how to create a square partition graph, which is also the most basic form of a partition graph.
A partition chart
[Advanced series of D3.js-5.0] histogram, d3.js5.0
The Histogram is used to describe the probability distribution. D3 provides the Histogram layout Histogram for data conversion.
Suppose there are arrays a = [10, 11, 11.5, 12.5, 13, 15, 19, 20 ~ The value range of 20 is divided into five segments:
10 ~ 12, 12 ~ 14, 14
[D3.js advanced series-9.0] interactive prompt box, d3.js9.0
In general, too many texts should not exist in charts. However, sometimes some text is required to describe certain graphic elements. Then, you can implement an interaction: When you move the mouse to a certain graphic element, a prompt box appears, containing the description text. This is a simple, uni
[D3.js advanced series-1.0] text line feed and d3.js line feed
Adding text in SVG uses text elements. However, this element cannot be automatically wrapped, and the excess content cannot be displayed. What should I do?
Preface to the advanced series
Start to write Advanced series
[D3.js advanced series-5.1] color interpolation and linear gradient, d3.js Interpolation
Color interpolation provides two RGB color values. The values between two colors are calculated using the interpolation function. A linear gradient is a filter added to an SVG image. You only need to give the color values at both ends.
1. Color Interpolation
Color interpolati
[D3.js advanced series-7.0] location, d3.js7.0
Sometimes you need to tell the user some goals on the map, if the target can be expressed by only one coordinate, it is called "annotation ".1. What is Annotation
Annotation is an element that can be expressed by only one coordinate on a map. For example, draw a circle at the longitude and latitude (116, 39) and draw
Introduction and installation of "D3.js starter Series-0"Posted in 2014/06/12In recent years, visualization has become more and more popular, many newspapers and magazines, portals, news, media have a large number of use of visual technology, making complex data and text becomes very easy to understand, there is a proverb "a picture value in 1000 words", is indeed true. A variety of data visualization tools
simpler:But the use of the time to keep the network connection is valid, can not be used in the case of network disconnection.second, with a small example of D3Use D3.js to modify the two lines of the P label, just add one line of code. Be careful not to forget to refer to the D3.js source file."Utf-8"> 12In fact, all of the features in
When you use D3.csv to read a CSV file in D3, there are sometimes garbled problems. How to solve it?1. Garbled problemWhen reading a xxx.csv file using D3.csv, there is no problem if the Xxx.csv file uses UTF-8 encoding. Of course, individuals think that using UTF-8 encoding as much as possible, you can use the same code within the national text .However, if the
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.