Questions tagged [linegraph]
A line graph is a type of chart which displays information as a series of data points called markers connected by straight line segments. It shows how something changes in value (as time goes by, or as something else happens).
linegraph
572
questions
0
votes
1
answer
322
views
Create line graph from database that assigns lines to each name
I have an SQLite table I want to make a line graph from:
import sqlite3
conn = sqlite3.connect('sales_sheet.db')
cur = conn.cursor()
cur.execute("""CREATE TABLE IF NOT EXISTS sales(id ...
1
vote
1
answer
681
views
Make all line graphs grey using grey scale, apart from one coloured line in Seaborn
I need to colour all line graphs in a different grey, using one of Seaborn's greyscale, like binary. One line (2022), however, needs to be orange.
This is what I currently have:
This is what my code ...
1
vote
0
answers
154
views
When I add a theme to my ggplot, it ignores my changes made to the x axis, how do i stop this happening?
I have created a line graph but I want to add a theme to make it look more visually pleasing. In the original graph, I have plotted the x labels to the side so they are readable and dont overlap. ...
0
votes
1
answer
177
views
How can I facet wrap 4 seperate datasets?
so I am having a bit of trouble with trying to facet wrap 4 different datasets. Each dataset represents one participant but I cannot figure out how I can combine these so they can be facet wrapped and ...
1
vote
1
answer
61
views
I tried to change my x axis on a line graph to just days instead of dates and the line graph has been visualised incorrectly, how to fix it?
I am trying to create a line graph which shows the response times of a go no go trial over a few weeks. However, instead of having the dates on the x axis, I just wanted it to display in the order ...
0
votes
1
answer
141
views
How can I change dates on an X axis into 'day 1', 'day 2' etc for a line graph plot?
I am trying to modify a line graph i have already made. On the x axis, it has the data in which a participant completed a task. However, I am trying to make it so the x axis simply show each completed ...
0
votes
0
answers
32
views
Why is the line not drawing for my line graph d3 javascript?
I am fairly new to using javascript and d3. I am trying to draw a line chart and have the data organized and the graph drawn besides the actual line.
Here is what I have currently
function ...
0
votes
1
answer
227
views
How can I configure a line chart using pivot_ui?
I would like to create a dynamic line chart in Voila. How can I manipulate the below code to show a standard line graph where the x axis equals column "a" and the y axis equals column "...
1
vote
2
answers
1k
views
Plotly python : how to make a dropdown menu with several lines?
I would like to make a dropdown menu in a plotly line graph such as the one in this post but with several lines.
Let's take a sample dataframe :
import pandas as pd
df = pd.DataFrame({"Date":...
0
votes
0
answers
66
views
One line graph array is truncating the x-axis for the rest of the data in matplotlib
I am plotting lactate curves for a subject for multiple visits (eight in total). The data is formatted the same for each visit in a csv file and I've repeated the code for each line graph. When I go ...
0
votes
1
answer
158
views
How to include min and max value pf a particular variable in r ggplot
I have tried many things but was not able to include the min and maximum value of GDP in each countries line graph.
0
votes
1
answer
66
views
How do I customise my x-axis to reflect the true number of participants?
So I am trying to create a line graph which shows scores pre and post intervention for a number of participants. However, the number of participants does not reflect the x axis scale. For example (see ...
0
votes
1
answer
350
views
Lines do not fully connect in line graph in R
I am trying to create a line graph that shows response times for a Go/No-go task. I am having trouble with the lines as they are not connecting to the intended values. I just want the 'go' to all be ...
0
votes
1
answer
380
views
Bringing one line to front and change to dashed
I am trying to edit my current code to bring the "ECHO Fit" (see below) line to the front and make it "longdash". All colors and other line formats stay the same.
Extra: I'm ...
0
votes
1
answer
379
views
How do I create a line graph that shows 'pre' and 'post' scores of participants?
I am trying to create a line graph which shows the pre and post scores of a questionnaire after an intervention. I am struggling as I want to have the each participant's score pre and post. There is 7 ...