Good afternoon. I want to display the months of the year and the amount spent in each category.
Ex:
{Month: "January", Food: 610, foodColor: "#063951", Others: 121, othersColor: "#C13018", …}
Food: 610
Health: 233
Month: "January"
Others:…
I am discovering the Nivo lib for data visualization and I am blocking on a feature that I would like to achieve.
Here is an example of what I would like to do : https://nivo.rocks/line/
I would like to make a component with an almost similar…
I have an original array and I want to plot it in Sunburst map which needs a hierarchical data structure.
[
{id: "Asia,India,NewDelhi", value: 41},
{id: "Europe,Germany,Berlin", value: 24},
{id: "Europe,England,London", value: 3},
{id:…
I'm trying to display years when the input is changed to 'years' using State, but I'm having an issue.
const handleChange = (e, countMonth,countYear) =>{
if(e.target.value === 'months'){
setMonths(countMonth)
} else if(…
I'm trying to render a table which has two columns based on what is selected (which bar is selected). Each bar is an array of dates.
So if the last bar is clicked, i want a table of months with how many times that month comes up in that array.
For…
i have problem with task relaying on format Y axis to display only natural numbers. In project i am using React awith Typescript and Nivo Rocks library to create charts (https://nivo.rocks/).for the purpose of this question i created…
I use the chart library Nivo (I have also tried others, same problem). I have a DIV with content as seen here the title and the statistics. But I don't want this to overhang like below. Why does the content overhang?
i keep getting TypeError: countYear.filter is not a function for the last line but i dont understand why. I want to output just the years and count (only the 2014 year). heres the sandbox for the original code:…