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

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.

主站蜘蛛池模板: 龙江县| 胶州市| 法库县| 子洲县| 海丰县| 仪陇县| 蒙山县| 邛崃市| 江达县| 丁青县| 新野县| 淄博市| 民丰县| 云梦县| 丹阳市| 伊宁市| 武穴市| 堆龙德庆县| 岐山县| 扶绥县| 荥经县| 临武县| 石泉县| 合作市| 乾安县| 泸州市| 万宁市| 丰顺县| 宁化县| 桐柏县| 台山市| 敦化市| 乌审旗| 莱西市| 乌拉特后旗| 孙吴县| 马尔康县| 大竹县| 乾安县| 宜黄县| 蒲江县|