box
Define an empty div under section. Implement it using js
Var result = document. getElementById ("jsonResult ");// The bootstrap warning box is used to delete elements rather than hide elements when the pop-up window is closed. It can only be used once. Therefore, a new warning box is generated here.
// Inter. innerHTML =, array. push () are obviously slow. innerHTML + = multiple rows destroy the LayoutResult. innerHTML + = "
// This is the green
", estimated to have 5 videos around, the length is moderate, explain D3 the most basic knowledge, so that beginners quickly get started. (⊙o⊙)A total of 12 articles in the Advanced series are listed below.
1.0
Line wrapping of text
1.1
Wrap Text Wrapping
2.0
Bundle diagram
3.0
Stack diagram
4.0
Matrix Tree Chart
Let's take a look at the effect chart.
Directly below the source code, HTML file
Linechart.js is responsible for loading and refreshing the line chart
function Loadlinechart (ElementID, DataSet) {var svg = D3.select ("#" + ElementID);
var STRs = svg.attr ("Viewbox"). Split ("");
alert (dataset);
var width = strs[2];
var height = strs[3
Enter-update-exit mode
Select.data (data), which represents the intersection of the selection graph with the data->update ModeSelect.data (data). Enter () to exclude the intersection of selection graphics with data data on behalf of data->enter ModeSelect.exit, removes all data, representing parts of the selection graph->exit ModeE-U-E is the foundation of D3.jsArray Data binding
var data=[10,15,24,46,13,6,96,12,44,61,17];function render (
By using d3 and js to visualize data, data can be separated from code to facilitate data modification in the future.
This time, a five-dimensional Radar chart is drawn using d3.js, which compares the five attributes of multiple objects on one map.
Data is written into data
new data from the data file (DATA-ALT.TSV). Then, copying the previous method to draw the chart, the difference is that there is a new method-transition () added here.Transiton (int): transitions the chart from one state to another. Parentheses can be an integer, indicating the length of time the animation is executed, or it can be a ease (type[, arguments ...]) method to represent a rich movement.The curr
It is not difficult for d3.js to draw a vector chart. it is difficult to drag and drop it. In fact, jquery and easyui both provide the draggable drag and drop method, you only need to re-draw the line when dragging the drop event of a div. It is not difficult for d3.js to dr
as: Venn diagram, heat map, evolutionary tree, two-dimensional scatter plot, two-dimensional scatter bubble, three-dimensional scatter plots, etc. Believe you should be able to find what you need in this list.1. Flotr2FLOTR2 is an independent framework library that supports HTML5 charts and graphs. It is a branched version of FLOTR, removing Prototype dependencies, and there are many improvements. Support: Line chart,
as: Venn diagram, heat map, evolutionary tree, two-dimensional scatter plot, two-dimensional scatter bubble, three-dimensional scatter plots, etc. Believe you should be able to find what you need in this list.1. Flotr2FLOTR2 is an independent framework library that supports HTML5 charts and graphs. It is a branched version of FLOTR, removing Prototype dependencies, and there are many improvements. Support: Line chart,
My personal blog is: www.ourd3js.comCSDN Blog for: blog.csdn.net/lzhlzzReprint please indicate the source, thank you.The GeoJSON file was used when making a map of China. Later I found that the file was too large for 2,364 KB, and of course this ensures that the map is accurate, but we don't usually need that exact boundary, so it's necessary to narrow it down. Fortunately, there have been predecessors to do this work, really walnuts, posterity, here to express our thanks.Conversion method:1. Op
1. Download the Highcharts pluginOfficial Download URL: http://www.highcharts.com/download2. Introduce the required JS file3. Create DIV container4. Writing Highcharts CodeChart plug-in--highcharts plug-in use (a bar chart)
Preface
Use js to display charts in the browser. See Series 1.Comparison of technologies for drawing SVG, VML, and HTML5 canvas on the Web end
The number of JS libraries for Web charts is large:
Name
Brief Introduce
Browser support
Site URL
Comments
$ FX ()
1. lightweight2. Compress code3. js + CSS
MIT an
Packets surround us. Although search engines and other applications prefer text-based representation of data, it is found that visualization is easier to understand. At the beginning of this year, SitePoint published Aurelio's article "Chart. js Introduction". After in-depth study of Chart. js functions, this article w
I have been away from the garden for more than a year. Now I am back. Where did I go? Haha, actually I didn't go anywhere. I just spent a year diving. Time is really fast, the first time I came to the Garden three years ago, at that time I almost just went to college, and now I graduated from college. Here, I would like to thank the blog Park, Dudu, And the coders in the garden for failing to read the University in recent years, I am satisfied with reading wonderful blog posts here every day. He
PHP dynamic bar chart implementation method. PHP dynamic bar chart implementation method this article mainly introduces the PHP dynamic bar chart implementation method. The example shows the php dynamic
JS Gantt Chart JQuery. gantt, Gantt Chart jquery. gantt
JQuery. Gantt is an open-source JS Component Library Based on the JQuery library for implementing the Scalable functions of Gantt charts. It allows you to view the itinerary and data distribution in a graphical manner.
On the basis of the original code, I modified
Ichartjs is an HTML5-based graphics library. Use the pure javascript language and the canvas label of html5. Ichartjs provides simple, intuitive, and Interactive Graphic components for web applications. Is a web Chart solution. I recently learned HTML5 and used ichartjs to practice it. Ichartjs currently supports pie chart, line chart, Area
1. Flotr2FLOTR2 is an independent framework library that supports HTML5 charts and graphs. It is a branched version of FLOTR, removing Prototype dependencies, and there are many improvements. Support: Line chart, bar chart, wax chart, pie chart, bubble
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.