Git Product home page Git Product logo

stata-spider's Introduction

Welcome to my GitHub page!


๐Ÿ•› Personal website

๐Ÿ• Notes on the recent Difference-in-Difference (DiD) literature

๐Ÿ•‘ The StataViz Portfolio

๐Ÿ•’ The Stata Guide GitHub repository with links and files.

๐Ÿ•“ The Stata Guide on Medium.

๐Ÿ•” The Stata Gallery on Medium.

๐Ÿ•• Europe's COVID-19 Regional Tracker version

๐Ÿ•– Data scrape of Pakistan's National Budgets

๐Ÿ•— 30DayMapChallenge 2021

๐Ÿ•˜ My Stata dataviz packages:

Package Version Updated Description
alluvial version release Package for Alluvial charts
arcplot version release Package for arc plots
bimap version release Package for bi-variate maps
bumparea version release Package for ribbon plots
bumpline version release Package for bump line charts
circlebar version release Package for polar bar graphs
circlepack version release Package for circlepacking
clipgeo version release Polygon and polyline shape clipping
delaunay version release Delauanay triangles, Convex Hull, Voronoi
joyplot version release Package for ridgeline plots
marimekko version release Package for Marimekko charts
sankey version release Package for Sankey diagrams
schemepack version release A suite of Stata schemes
spider version release Package for spider plots
streamplot version release Package for streamplots
sunburst version release Package for sunburst diagrams
treecluster version release Package for tree plots
treemap version release Package for tree maps
waffle version release Package for waffle plots

๐Ÿ•™ drdid: Doubly robust DiD estimator based on Sant'Anna and Zhao (2020)



Connect with me:

Website Twitter Mastodon LinkedIn ResearchGate Google Scholar Medium Discord


GIF

Support me:

Etsy Buymeacoffee Sponsor on GitHub



stata-spider's People

Contributors

asjadnaqvi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stata-spider's Issues

Allow for legend(off)

At the moment it is not possible to turn the legend off.
I suggest to redo the if "legend'" and add:
if "`legend'" == "off" {
local legend legend(off)
}

it is an attempt to create a raw spider plot - see #6

allow non-string categories

If I am not mistaken, categories need to be formatted as strings. In my use case it would be better if a factor variable can be used because the order of the values has a meaning that should be preserved.

different x- und y-size

At the moment graph sizes and aspect ratio are fixed at 1. The legend is set at position 6.
In my use case, to present the graphs using Powerpoint, I would like to use the widescreen opportunity - thus x-size is 2,5x of the y-size.
I guess it is necessary that the spider graph plot region itself is quadratic - so the setting itself is necessary, or? But would there be an opportunity to place the legend at position 3, 4 or 5 to use the possible width of a presentation?

Add SLABColor

I would like to create spider plot with scheme neon. However the spike label color seems to be hard-coded to black and is therefore not visible.

Suggestion: add slabcolor option to be able to set spike label color.

Definition: SLABColor(string)
Under label section in ado: if "`slabcolor'" == "" local slabcolor "black"
And in line command: mlabcolor(`slabcolor')

I would really appreciate it!

Option smooth not working

Dear Asjad,

First of all. Thank you so much for creating this package. I am constantly using spider plots but always found Stata's radar plot unattractive.

I am writing to you because I just tried your package for the first time and when I use the option Smooth I always get an error message saying "variable _m not found"

This only appears when running smooth.

Hope you can help ( :

Thanks in advance!

Keep over(cat var) order - add `order()` option

First: thanks for your effort!
It would be nice if the variables that define the cat var could be kept in the order of their appearance in the dataset, or some other ordering variable. At present the categories of the cat var get displayed in alphabetical order around the web. A workaround to add eg a numerical prefix as in 1-germany 2-france 3-england and so on works until you get to 10 - we all know the 1 10 11 12 2 3 4 5 thing ...
Cheers

Editing legend labels

Is there currently a way to update the labels in the legend, to make them more readable than just the variable names, e.g. index_EU, index_NA, etc. from the example? I tried to use the legend(label()) option from twoway but it said it was not allowed. Thanks!

Example

Dear Asjad, again a really great graphic package to use for data visualization!

Note that the plot published as the Palette example:
spider index*, over(policy) ra(10 80) cuts(8) smooth(0.1) palette(CET C1) lw(0.4) ms(0.6) alpha(2)
on your main page is not correct. It should be like:

ExampleSpiderPalettesCET_CI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.