\documentclass{article} \usepackage[letterpaper,margin=1in]{geometry} \usepackage{tikz} \usetikzlibrary{datavisualization} \begin{document} \begin{figure}[h] \centering \tikz \datavisualization [ scientific axes = inner ticks,, %% uncomment the next line and comment out the one after that for %% equal horizontal and vertical scale % all axes={unit length=1in per 33 units}, x axis = {length = 6 in}, y axis = {length = 4 in}, visualize as line ] % https://oeis.org/A000720/b000720.txt first 200 entries data [separator=\space] { x y 1 0 2 0 2 1 3 1 3 2 4 2 5 2 5 3 6 3 7 3 7 4 8 4 9 4 10 4 11 4 11 5 12 5 13 5 13 6 14 6 15 6 16 6 17 6 17 7 18 7 19 7 19 8 20 8 21 8 22 8 23 8 23 9 24 9 25 9 26 9 27 9 28 9 29 9 29 10 30 10 31 10 31 11 32 11 33 11 34 11 35 11 36 11 37 11 37 12 38 12 39 12 40 12 41 12 41 13 42 13 43 13 43 14 44 14 45 14 46 14 47 14 47 15 48 15 49 15 50 15 51 15 52 15 53 15 53 16 54 16 55 16 56 16 57 16 58 16 59 16 59 17 60 17 61 17 61 18 62 18 63 18 64 18 65 18 66 18 67 18 67 19 68 19 69 19 70 19 71 19 71 20 72 20 73 20 73 21 74 21 75 21 76 21 77 21 78 21 79 21 79 22 80 22 81 22 82 22 83 22 83 23 84 23 85 23 86 23 87 23 88 23 89 23 89 24 90 24 91 24 92 24 93 24 94 24 95 24 96 24 97 24 97 25 98 25 99 25 100 25 101 25 101 26 102 26 103 26 103 27 104 27 105 27 106 27 107 27 107 28 108 28 109 28 109 29 110 29 111 29 112 29 113 29 113 30 114 30 115 30 116 30 117 30 118 30 119 30 120 30 121 30 122 30 123 30 124 30 125 30 126 30 127 30 127 31 128 31 129 31 130 31 131 31 131 32 132 32 133 32 134 32 135 32 136 32 137 32 137 33 138 33 139 33 139 34 140 34 141 34 142 34 143 34 144 34 145 34 146 34 147 34 148 34 149 34 149 35 150 35 151 35 151 36 152 36 153 36 154 36 155 36 156 36 157 36 157 37 158 37 159 37 160 37 161 37 162 37 163 37 163 38 164 38 165 38 166 38 167 38 167 39 168 39 169 39 170 39 171 39 172 39 173 39 173 40 174 40 175 40 176 40 177 40 178 40 179 40 179 41 180 41 181 41 181 42 182 42 183 42 184 42 185 42 186 42 187 42 188 42 189 42 190 42 191 42 191 43 192 43 193 43 193 44 194 44 195 44 196 44 197 44 197 45 198 45 199 45 199 46 200 46 }; \caption{Number of primes below $n$, for small $n$} \end{figure} \end{document}