Sean McClure
1 min readSep 17, 2019

--

Hi Mobola,

Sorry you’re having issues. Can you see if the example app works on your browser:

https://collaboratescience.com/azle_d3/

It also looks like you’re using the CHANGE DATA example. Can you confirm your data are in the right folders. And that your code looks as follows:

function update_data_a() {
az.call_d3_wrapper('my_d3', 1, {
"wrapper_arguments": barchart_wrapper_args,
"extra_functions": barchart_extras,
"data_path": "../data/bar_data.tsv"
})
}

function update_data_b() {
az.call_d3_wrapper('my_d3', 1, {
"wrapper_arguments": barchart_wrapper_args,
"extra_functions": barchart_extras,
"data_path": "../data/bar_data_b.tsv"
})
}

Are your wrapper_arguments and extra_functions objects also set?

What does it say in your browser console (inspect element)?

Also delete your browser cache and reload to try again.

If you’re still having issues, can you send me your exact code so I can look it over? You can paste it in a GIST and share the link.

Thanks,

--

--

Sean McClure
Sean McClure

Written by Sean McClure

Independent Scholar; Author of Discovered, Not Designed; Ph.D. Computational Chem; Builder of things; I study and write about science, philosophy, complexity.

No responses yet