What's the best way to plot a bar graph with large numeric difference in values? The 2019 Stack Overflow Developer Survey Results Are InWhat is the difference between affinity matrix eigenvectors and graph Laplacian eigenvectors in the context of spectral clustering?What are the best way to handle missing valuesHow to plot a 3-axis bar chart with matplotlib (and pandas + jupyter)What's the best classification model for this recommendation engine?How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot?Aggregating small values in a frequency bar plotWhat's an efficient way to plot many features for EDA in python?What is the difference between symmetric bipartite graphs and a complete bipartite graph?Is there a way to Label/Annotate My Bubble Plot (Scatter plot with a z-axis) on matplotlib?Binary Search Tree with categorical and numeric values in python
Does it makes sense to buy a new cycle to learn riding?
What is the best strategy for white in this position?
Access elements in std::string where positon of string is greater than its size
Is domain driven design an anti-SQL pattern?
How to manage monthly salary
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
Does a dangling wire really electrocute me if I'm standing in water?
How do you say "canon" as in "official for a story universe"?
Idiomatic way to prevent slicing?
Springs with some finite mass
On the insanity of kings as an argument against monarchy
Why could you hear an Amstrad CPC working?
What does "sndry explns" mean in one of the Hitchhiker's guide books?
Should I write numbers in words or as numerals when there are multiple next to each other?
Time travel alters history but people keep saying nothing's changed
Is this food a bread or a loaf?
What is the use of option -o in the useradd command?
Could JWST stay at L2 "forever"?
Limit to 0 ambiguity
Does duplicating a spell with Wish count as casting that spell?
Why do I get badly formatted numerical results when I use StringForm?
Lethal sonic weapons
Why is the maximum length of OpenWrt’s root password 8 characters?
I see my dog run
What's the best way to plot a bar graph with large numeric difference in values?
The 2019 Stack Overflow Developer Survey Results Are InWhat is the difference between affinity matrix eigenvectors and graph Laplacian eigenvectors in the context of spectral clustering?What are the best way to handle missing valuesHow to plot a 3-axis bar chart with matplotlib (and pandas + jupyter)What's the best classification model for this recommendation engine?How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot?Aggregating small values in a frequency bar plotWhat's an efficient way to plot many features for EDA in python?What is the difference between symmetric bipartite graphs and a complete bipartite graph?Is there a way to Label/Annotate My Bubble Plot (Scatter plot with a z-axis) on matplotlib?Binary Search Tree with categorical and numeric values in python
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
New contributor
$endgroup$
add a comment |
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
New contributor
$endgroup$
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago
add a comment |
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
New contributor
$endgroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
python visualization graphs matplotlib
New contributor
New contributor
New contributor
asked 10 hours ago
Peter ArsenaultPeter Arsenault
1
1
New contributor
New contributor
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago
add a comment |
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
1
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Peter Arsenault is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48990%2fwhats-the-best-way-to-plot-a-bar-graph-with-large-numeric-difference-in-values%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
add a comment |
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
add a comment |
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
answered 9 hours ago
Upper_CaseUpper_Case
1763
1763
add a comment |
add a comment |
Peter Arsenault is a new contributor. Be nice, and check out our Code of Conduct.
Peter Arsenault is a new contributor. Be nice, and check out our Code of Conduct.
Peter Arsenault is a new contributor. Be nice, and check out our Code of Conduct.
Peter Arsenault is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48990%2fwhats-the-best-way-to-plot-a-bar-graph-with-large-numeric-difference-in-values%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
9 hours ago
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
9 hours ago
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
9 hours ago