I want to create this CHART, but i don't know how to start with that.. Because i cant found similar chart and i can't find any way how to create this one..
This graph i create just with CSS it's enough for now, but later i wanna receive a live data into chart so via CSS it's impossible and the chart is not responsive..
So any advice how to create this chart ?
Using jQuery or another one ?
Related
I'm trying to build a "stacked normalized horizontal bar chart" using D3.js v5.
I found an Observable notebook which shows exactly what I need :
https://observablehq.com/#d3/stacked-normalized-horizontal-bar
I would like to display this exact chart in a "classical" HTML page.
I don't understand how am I supposed to do this : do I need to copy every line of the example (in reverse order) into a Javascript file, and then embed it in the HTML page ?
My final goal is to create a VueJs 2 component to display this kind of charts.
I'm a bit lost, and I'd really appreciate some help to get started...
I want to display the labels and datasets of pie & doughnut charts on their sides. I searched for many options on the internet including stackoverflow, but couldn't find a relative solution for my case. Maybe I missed something.
Now I have:
I need to display the chart data on its side like this: (For my pie and doughnut charts above)
First of all, I dont see any bar chart here. Second, what library are you using for making charts? If you couldn't find proper option to display label in that library, I can recommend you to use Amcharts, its more flexible. Let me know if you get your desired results
i wasnt quite sure what to call this question but so far i have been unable to find what im looking for.
First an image:
This is taken from chart.js
Right now im trying to create my own costum chart but i want it to feel abit like chart.js so here is my chart created with D3:
Now on the image from Chart.js you can see the background has some sort of indexing. I was wondering how is that possible with D3?
I am trying to add the actual value of all the bars in my chart to the
end of each bar. I want this to either replace, or to add to the tool-
tip functionality.
I see that this is possible in the image chart, it is the
functionality described in the following link that I wish to
replicate:
http://code.google.com/apis/ajax/playground/#image_bar_chart
I am wondering if this is possible in the Javascript based version of
the bar chart?
Many thanks,
H.
It looks like there's no built in functions to draw text ad-hoc on top of google's different charts. Behind the scenes, it's generating SVG so you could try to insert some valid SVG on your own.
Another option would be to use a more flexible (but less featureful) library like raphael.js:
http://raphaeljs.com/
I am using jqPlot to show candlestick chart and the data is from XML.
I retrieve data from XML and put it into an array and then jqPlot creates a candlestick chart from that.
But the XML file contains lots of data so in the chart values are overlapping (with fixed width).
Is it possible to make a graph of lets say 10% of data and place a scrollbar and on every tick of scrollbar we rebuild graph with next data or there already exists such functionality of scrolling of graph/chart in jqPlot.
Please help me to resolve this.
Perhaps you can try Jonathan Cook's jqplot.annotatedTimeline.js available from the following URL:
https://bitbucket.org/j5bot/jqplot/downloads
You can see its features in action from:
http://screencast.com/t/mHY5eUV99XaT
Although I haven't tried this plugin yet it looks very good!
Its better to load XML at once, but not give the data at once to that jqPlot chart. Just make sure you are passing part of the data to jqPlot. Once you assign data to chart then go for the scrolling of data using jQuery or something like scroller code.
Whenever you scroll on this try to refresh or regenrate the chart by only the selected data.