官术网_书友最值得收藏!

Summary

In this chapter, we've set up our working environment and introduced the first couple of concepts of D3. We've showed that there is a standard pattern for binding data to elements, and how we can use D3 to handle new elements, update existing elements, and how to remove obsolete elements. We've also created our first visualization in this chapter. We've used a standard CSV file, and converted that to a bar chart, complete with custom colors, text elements, and a set of axes. Throughout this chapter, we've touched upon a couple of D3 APIs and concepts, such as d3.selectAll, d3.axisBottom, and even explored a part of how D3 handles scales (d3.linearScale).

In the next chapter, we'll continue with the subjects we've seen so far, and look more closely at how you can use D3 to create different kinds of charts.

主站蜘蛛池模板: 将乐县| 遂昌县| 环江| 玉环县| 济宁市| 太和县| 景谷| 阳朔县| 板桥市| 洪江市| 泸溪县| 七台河市| 汕尾市| 淮南市| 龙门县| 徐水县| 大宁县| 旺苍县| 中西区| 钟山县| 兴隆县| 鹿泉市| 怀远县| 江山市| 汤原县| 绥德县| 弥勒县| 雷波县| 江口县| 六枝特区| 申扎县| 富顺县| 沅陵县| 漳平市| 寿阳县| 大英县| 沾化县| 炎陵县| 内黄县| 双辽市| 临泉县|