iansmith / d3 Goto Github PK
View Code? Open in Web Editor NEWthin wrapper over the data-driven documents (d3) library for use with gopherjs
License: Apache License 2.0
thin wrapper over the data-driven documents (d3) library for use with gopherjs
License: Apache License 2.0
Thank you for the d3 package:
I am trying to get this package installed in my Linux Mint 17.3 box and getting the following errors:
$ go get -u github.com/gopherjs/gopherjs
$ go get github.com/gopherjs/jquery
$ go get -u honnef.co/go/js/dom
$ go get -u github.com/iansmith/d3
project/src/github.com/iansmith/d3/d3.go:52:16: cannot use self.obj.Call("selectAll", string(n)) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:60:16: cannot use self.obj.Call("data", arr) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:67:16: cannot use self.obj.Call("enter") (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:75:16: cannot use self.obj.Call("append", string(n)) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:84:16: cannot use self.obj.Call("style", string(prop), f) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:92:16: cannot use self.obj.Call("style", string(prop), value) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:101:16: cannot use self.obj.Call("text", f) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:109:16: cannot use self.obj.Call("text", v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:116:16: cannot use self.obj.Call("attr", string(p), v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:123:16: cannot use self.obj.Call("attr", string(p), v) (type *js.Object) as type js.Object in field value
project/src/github.com/iansmith/d3/d3.go:123:16: too many errors
//----------------------------------------------------------------------------------------------------------------------------------------//
My system info:
$ cat /etc/release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
cat: /etc/upstream-release: Is a directory
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.