nickqizhu / d3-cookbook Goto Github PK
View Code? Open in Web Editor NEWSource code for "Data Visualization with D3 Cookbook"
License: MIT License
Source code for "Data Visualization with D3 Cookbook"
License: MIT License
Trying to get the examples on pages #152 and #156 to work. In both cases, the graphs are filled in with solid black. I just want to have the line graph as is shown in the book.
I can send you screen shots if that would help.
Thanks!
很高兴从书上找到这里,我现在有个需求,通过两个按钮,一个放大和一个缩小按钮,实现zoom 的缩放,我发现没有对应的API,不知道老师有没有合适的方法,参考下
Hi,
Seems that you use 3.2.8 in your examples, is this going to be updated before the publication of your book?
Anyway, good luck and thanks so much to have published the code online, really useful, even without the book is published
X+
Looking at the code in the example from chapter one, I'm curious about this line... it doesn't seem to serve any purpose, since if there's no arguments passed, h is undefined
... and since you're not setting it to anything in that conditional, it's undefined
anyway (same thing with line 39).
I saw someone is selling this content here https://subscription.packtpub.com/book/data/9781782162162/7/ch07lvl1sec53/using-line-interpolation
Are you aware of this? Was this your intent when you published with the mit license?
Going through some of the examples, and they look great.
Came across one issue in Chapter 8 bar chart example:
http://nickqizhu.github.io/d3-cookbook/src/chapter8/bar-chart.html
The example calls var chart = lineChart()
at the bottom instead of
var chart = barChart()
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.