Comments (5)
Do you have a fork I can test?
from codeflower.
I do, but I have not been testing off of my fork; so my fork will look like your original code.
I have noticed that the code flower appears when I go to your page, but is does not run from the downloaded zip. Feel free to use my fork if you wish.
from codeflower.
Did you look at the JS logs in your browser console?
I believe there might be one cause: d3.json()
data loader (used in https://github.com/fzaninotto/CodeFlower/blob/master/index.html#L144) needs a server, it doesn't accept to serve files with relative path names. So my advice would be to start a server from the CodeFlower root (e.g. using jekyll) and try again
from codeflower.
You were right about that, and when I put the folder on a server that error went away. However, now the console is throwing two errors:
GET mysite.com/code_flower/code_flower/data.json 404 (Not Found) d3.js:421
Uncaught TypeError: Cannot read property 'children' of null
The second error is probably caused from the first error.
from codeflower.
Never mind, I found out what the problem was. The server we used did not have json imported onto it. Thank you for your help, it is working now. :)
from codeflower.
Related Issues (20)
- Node background image HOT 4
- How collapse nodes on start? HOT 1
- more complex flowers? HOT 1
- converters fail with package/folder named 'language'
- codeflower stops showing branches with no leaves HOT 2
- Show folder labels HOT 1
- Middle nodes not being shown HOT 1
- Create an implementation guide HOT 1
- Issue opening and closing folder nodes with only a folder inside HOT 1
- Cannot set 'name' of undefined in dataConverter.js
- CodeFlower not compatible with the latest version of d3.js
- Embed URL within a circle
- TypeError: json is undefined on dataConverter.js:32:3 in Firefox 59.0.2
- Faster rendering? HOT 2
- Discs run away from the mouse
- Incorrect ordering of width and height in function.
- Unclear Data Type
- How to set the distance between two circle ? HOT 1
- convertFromClocToJSON() doesn't work if cloc.exe executed with "--by-file-by-lang" flag HOT 1
- Code flower not working with latest d3 Version (3.4.11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeflower.